how to solve we solve those types of problems

y=mx+b is standard form of a linear (straight) line.