Answer:
y = -1/5x +1
Step-by-step explanation:
First we need to find the slope
m = (y2-y1)/ (x2-x1)
= (-1 -2)/(10 - -5)
= -3/(10+5)
= -3/15
= -1/5
Then we can use point slope form
y = mx+b where m is the slope and b is the y intercept
y = -1/5x +b
Substitute a point into the equation
2 = -1/5(-5) +b
2 = 1 +b
Subtract 1 from each side
1 =b
y = -1/5x +1