In order to find the parameters m (slope) and b (y-intercept) of the equation y=mx+b, we need to apply the two points given, that is, we use the x and y coordinates in the equation.
Using the point (9,7), we have that:
Using the point (-9,1), we have:
If we add both equations, we have:
Now, finding the value of m, we have:
So the equation of the line is y = 1/3 x + 4