$y=-x + 6$
Work Step by Step
RECALL: The slope-intercept form of a line's equation is $y=mx+b$ where $m$ = slope and $b$ = y-intercept. With $m=-1$, the tentative equation of the line is $y=-x+b$. To find the value of $b$, substitute the x and y coordinates of the given point to have: $y = -x + b \\4=-2+b \\4+2= b \\6=b$ Thus, the equation of the line in slope-intercept form is $y=-x + 6$.