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₁ ) = (- 6, 1 ) and (x₂, y₂ ) = (2, - 5 )
m =
=
= -

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

y = -
x -
← equation of line