Answer:
y = -x + 2
Explanation:
If you know the slope and a point on the line, then you can find the equation with an equation:
(y - y1) = m (x - x1)
We have our slope, -1; we have a x1, -2, and a y1, 4, so we're all set to find the equation. Plug in the numbers:
y - 4 = -1 ( x + 2 )
y - 4 = -x - 2
y = -x + 2
Our equation is y = -x + 2