Slope:-
[tex]\\ \tt\hookrightarrow m=\dfrac{-5-5}{-4+2}[/tex]
[tex]\\ \tt\hookrightarrow m=\dfrac{-10}{-2}=5[/tex]
Equation in point slope form
[tex]\\ \tt\hookrightarrow y-y_1=m(x-x_1)[/tex]
[tex]\\ \tt\hookrightarrow y-5=5(x+2)[/tex]
[tex]\\ \tt\hookrightarrow y-5=5x+2[/tex]
[tex]\\ \tt\hookrightarrow y=5x+7[/tex]