y = mx + b Calculate the slope, m, from the given point values, solve for b by using one of the point values, and check your solution using the other point values.
A line can be thought of as the ratio of the change between horizontal (x) and vertical (y) positions. Thus, for any two points defined by Cartesian (planar) coordinates such as those given in this problem, you simply set up the two changes (differences) and then make the ratio to obtain the slope, m.
Ratio = “rise over run”, or vertical over horizontal =
A line has the general form of y = mx + b, or vertical position is the product of the slope and horizontal position, x, plus the point where the line crosses (intercepts) the x-axis (the line where z is always zero.) So, once you have calculated the slope you can put any of the two points known into the equation, leaving us with only the intercept 'b' unknown.
Thus the final equation is
We then check this by substituting the other known point into the equation: