Answer
y=-x+2
Work Step by Step
Slope-intercept form is written as
y=mx+b.
m=$\frac{y_{2}-y_{1}}{x_{2}-x_{1}}$, and it's given that $x_{1}$=-2, $x_{2}$=3, $y_{1}$=4, $y_{2}$=-1, we can solve for m by plugging in the givens into the slope equation.
Therefore, m=$\frac{-1-4}{3-(-2)}$=$\frac{-5}{5}$=-1.
Now we know the y=(-1)x+b=-x+b, and we can solve for b by plugging in one of the two points, in this case we'll plug in the point (-2,4)
4=-(-2)+b, so 2=b.
Therefore, y=-x+2