Answer:
y = 1/2x +5/2
Explanation:
First we find the slope
m = (y2-y1)/(x2-x1)
= (5-2)/(5- -1)
= (5-2)/(5+1)
= 3/6
1/2
We have the slope intercept form of a line
y = mx+b where m is the slope and b is the y intercept
y = 1/2 x+b
Substitute a point into the equation
2 = 1/2 (-1) +b
2 = -1/2 +b
add 1/2 to each side
4/2 + 1/2 = b
5/2 = b
y = 1/2x +5/2