1 answer
(click or scroll down)
First, we need to find the slope of the line passing through the two points:
Slope = (y2 - y1) / (x2 - x1)
Slope = (9 - 2) / (-7 - (-2))
Slope = 7 / -5
Slope = -7/5
Now that we have the slope, let's use one of the points to find the y-intercept:
y = mx + b
2 = (-7/5)(-2) + b
2 = 14/5 + b
b = 10/5 - 14/5
b = -4/5
So the equation of the linear function is:
y = (-7/5)x - 4/5.