We need to find the equation of the line passing through the points ( -1 , 7) and ( 2 , -8 )
The general equation of the line is :
[tex]y=m\cdot x+b[/tex]Where m is the slope and b is a constant represents y - intercept
The slope m will be calculated as following:
Slope = Rise/Run
Rise = -8 - 7 = -15
Run = 2 - (-1) = 2 + 1 = 3
So, the slope is:
[tex]m=\frac{-15}{3}=-5[/tex]The equation of the line will be :
[tex]y=-5x+b[/tex]b will be calculated using the point ( 2 , -8 ) as following:
when x = 2 , y = -8
So,
[tex]\begin{gathered} -8=-5\cdot2+b \\ -8=-10+b \\ b=-8+10=2 \end{gathered}[/tex]So, the equation of the line will be:
[tex]y=-5x+2[/tex]So, the answer is option C. y = -5x + 2