The general slope intercept equation is
[tex]y=mx+b[/tex]m is the slope and b is the y=intercept. slope is
[tex]\begin{gathered} m=\frac{y_2-y_1}{x_2-x_1} \\ m=\frac{-9-5}{-7+1} \\ m=\frac{-14}{-6} \\ m=\frac{7}{3} \end{gathered}[/tex]so the equation becomes,
[tex]y=\frac{7}{3}x+b[/tex]From the first set of given points, substituting for y,
[tex]\begin{gathered} 5=-\frac{7}{3}+b \\ b=5+\frac{7}{3} \\ b=\frac{15+7}{3} \\ b=\frac{22}{3} \end{gathered}[/tex]Thus the point slope formula is
[tex]y=\frac{7}{3}x+\frac{22}{3}[/tex]