Answer
y=-x+2
Work Step by Step
You have to put it into slope-intercept form.
Use two points (-2,4)(3,-1) and use the slope formula (m=$\frac{y2-y1}{x2-x1}$):
m=$\frac{-1-4}{3-(-2)}$=$\frac{-5}{5}$.
The slope is -1.
Plug the slope and the two points into the slope-intercept form:
y=mx+b
4=-1(-2)+b
b=2
Now, put the values into the equation: y=-x+2.