Passes through (7, 6) and (10, 15)
y is dependant, m is slope, x is independant, b is vertical shift
The equation for finding a slope is (Y1-y2)/(X1-X2).
(15-6)/(10-7)=9/3=3 so the slope is 3
To find b, substitute an instance of y and x, for y and x. You can use 15 and 10 or 6 and 7, both give the same answer
15 and 10:
6 and 7
so b=-15, and the formula is
The graph looks like
Note that the line crosses the vertical (y) axis at -15, b.