The equation is of the form y=mx+b, where m = slope and b = y-interset. Therefore, find m and b:
For m
[tex]m=\frac{y2-y1}{x2-x1}=\frac{7-(-2)}{-2-1}=\frac{7+2}{-3}=\frac{9}{-3}=-3[/tex]For b
[tex]\begin{gathered} y=mx+b \\ -2=-3(1)+b \\ -2=-3+b \\ -2+3=-3+b+3 \\ b=1 \end{gathered}[/tex]So, the equation is:
[tex]y=-3x+1[/tex]Answer: D.