Answer:
y = - x + 3
Step-by-step explanation:
The equation of a line in slope- intercept form is
y = mx + c ( m is the slope and c the y- intercept )
Calculate m using the slope formula
m = 
with (x₁, y₁ ) = (- 2, 5) and (x₂, y₂ ) = (4, - 1)
m =
=
= - 1, thus
y = - x + c ← is the partial equation
To find c substitute either of the 2 points into the partial equation
Using (4, - 1 ), then
- 1 = - 4 + c ⇒ c = - 1 + 4 = 3
y = - x + 3 ← equation of line