Lets find the slope first:
Slope (m) is change in y's by change in x's
Change in y: -7 - - 10 = -7 + 10 = 3
Change in x: 4 - 2 = 2
Slope = 3/2 (this is m)
So, the equation is:
b is the y-intercept.
We can get it by plugging in any point. Let's put (2, -10). So we have:
Final equation is: