First we need to calculate the slople
P1=(-2,7)=(x1,y1)
P2=(6,-5)=(x2,y2)
[tex]m=\frac{y2-y1}{x2-x1}[/tex][tex]m=\frac{-5-7}{6+2}=\frac{12}{8}=\frac{3}{2}[/tex]Then we can calculate the linear equation
[tex](y-y_1)=m(x-x_1)[/tex][tex](y-7)=\frac{3}{2}(x+2)[/tex][tex](y-7)=\frac{3}{2}x+3[/tex][tex]y=\frac{3}{2}x+3+7[/tex][tex]y=\frac{3}{2}x+10[/tex]the linear equation is y=3/2 x+10