Given the points:
[tex]\mleft(-4,2\mright),(1,-8)[/tex]You can find the slope of the line using this formula:
[tex]m=\frac{y_2-y_1}{x_2-x_1}[/tex]Where these two points are on the line:
[tex](x_1,y_1),(x_2,y_2)[/tex]In this case, you can set up that:
[tex]\begin{gathered} y_2=-8 \\ y_1=2 \\ x_2=1 \\ x_1=-4 \end{gathered}[/tex]Therefore:
[tex]m=\frac{-8-2}{1-(-4)}=\frac{-10}{1+4}=\frac{-10}{5}=-2[/tex]By definition, the Slope-Intercept Form of the equation of a line is:
[tex]y=mx+b[/tex]Where "m" is the slope and "b" is the y-intercept.
In order to find the y-intercept, substitute the slope and the coordinates of one of the points on the line into the equation, and then solve for "b":
[tex]undefined[/tex]