The equation of a line in the slope intercept form is expressed as
y = mx + c
Where
m represents slope
c represents y intercept
We would find c by substituting x = - 1, y = 4 and m = - 1 into the slope intercept equation. It becomes
4 = - 1 * - 1 + c
4 = 2 + c
c = 4 - 2 = 2
The equation would be
y = - x + 2