y = - [tex]\frac{3}{4}[/tex] x - [tex]\frac{7}{2}[/tex]
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 = [tex]\frac{-5-1}{2+6}[/tex] = [tex]\frac{-6}{8}[/tex] = - [tex]\frac{3}{4}[/tex]
the partial equation is
y = - [tex]\frac{3}{4}[/tex] x + c
to find c substitute either of the 2 given points into the partial equation
using (- 6, 1 ), then
1 = [tex]\frac{9}{2}[/tex] + c ⇒ c = 1 - [tex]\frac{9}{2}[/tex] = - [tex]\frac{7}{2}[/tex]
y = - [tex]\frac{3}{4}[/tex] x - [tex]\frac{7}{2}[/tex] ← equation of line