y =
x -

the equation of a line in slope- intercept form is
y = mx + c ( m is the slope and c the y-intercept )
to calculate m use the gradient formula
m = (y₂ - y₁ ) / (x₂ - x₁ )
with (x₁, y₁ ) = (- 5, - 4 ) and (x₂, y₂ ) = (3 , - 1 )
m =
=

the partial equation is y =
x + c
to find c substitute either of the 2 points into the partial equation
using (3, - 1 ), then
- 1 =
+ c ⇒ c = -

y =
x -
← in slope-intercept form