Answer:
y= -x+8
Explanation:
slope int. form: y=mx+b
first, we need to find the slope (m)
the two points are (2,4) and (7,-1).
to find the slope we do (y2-y1)/(x2-x1)
doing this we get -5/5=-1
now we can plug in point (2,4) and the slope into y=mx+b
doing this we get:
4=-1(2)+b
4=-2+b
b=8
now we have the equation:
y= -x+8