Respuesta :

[tex]\begin{gathered} m=\frac{y_2-y_1}{x_2-x_1} \\ m=\frac{2-5}{-4-(-1)} \\ m=\frac{-3}{-3} \\ \\ m=1 \\ \\ y=x+b \\ 5=-1+b \\ b=5+1 \\ b=6 \\ \\ \\ \text{ The equation is } \\ y=x+6 \end{gathered}[/tex]