The general slope - intercept form of the line is ;
[tex]y=mx+b[/tex]where m is the slope, b is y-intercept
We need to find the equation of the line containing the points ( -2 , 7 ) and ( 4 , -2 )
The slope will be calculated as following:
[tex]m=\frac{-2-7}{4-(-2)}=\frac{-9}{6}=-\frac{3}{2}[/tex]So, the equation of the line will be :
[tex]y=-\frac{3}{2}x+b[/tex]using the point ( -2 , 7 ) to find b:
So, when x = -2 , y = 7
so,
[tex]\begin{gathered} 7=-\frac{3}{2}\cdot-2+b \\ 7=3+b \\ b=7-3=4 \end{gathered}[/tex]so, the equation of the line is:
[tex]y=-\frac{3}{2}x+4[/tex]