Answer:
y = -x + 2
Explanation:
The slope intercept form equation of this line can be written like this :
y = my + p ; where m is the slope and p is the y intercept.

then the equation becomes y = -x + p
(-2,4) is a point of the line means 4 = -(-2) + p
then p = 4 - 2 = 2
finally, y = -x + 2