[tex]\frac{41}{24}[/tex] and - [tex]\frac{2}{3}[/tex]
calculate the slope m using the gradient formula
m = ( y₂ - y₁ )/ (x₂ - x₁ )
with (x₁, y₁ ) = (12, 1 ) and (x₂, y₂ ) = (36, 42 )
m = [tex]\frac{42-1}{36-12}[/tex] = [tex]\frac{41}{24}[/tex]
repeat with (x₁ y₁ ) = (- 1, - 8 ) and (x₂, y₂ ) = (- 7, - 4 )
m = [tex]\frac{-4+8}{-7+1}[/tex] = [tex]\frac{4}{-6}[/tex] = - [tex]\frac{2}{3}[/tex]