Find the equation (in terms of x ) of the line through the points (-4,5) and (2,1)y=

Given:
There are given that the two points are:
[tex](-4,5)\text{ and }(2,1)[/tex]Explanation:
To find the equation, first, we need to find the slope of the line from the given points.
So,
From the formula of slope:
[tex]m=\frac{y_2-y_1}{x_2-x_1}[/tex]Where,
[tex]x_1=-4,y_1=5,x_2=2,y_2=1[/tex]Then,
Put all the values into the above formula:
So,
[tex]\begin{gathered} m=\frac{y_{2}-y_{1}}{x_{2}-x_{1}} \\ m=\frac{1-5}{2+4} \\ m=-\frac{4}{6} \\ m=-\frac{2}{3} \end{gathered}[/tex]Now,
From the formula of point-slope form:
[tex]y-y_1=m(x-x_1)[/tex]Then,
[tex]\begin{gathered} y-y_{1}=m(x-x_{1}) \\ y-5=-\frac{2}{3}(x-(-4)) \\ y-5=-\frac{2}{3}(x+4) \\ 3y-15=-2(x+4) \end{gathered}[/tex]Then,
[tex]\begin{gathered} 3y-15=-2(x+4) \\ 3y-15=-2x-8 \\ 3y-15+2x+8=0 \\ 3y+2x-7=0 \\ 3y=-2x+7 \\ y=-\frac{2}{3}x+\frac{7}{3} \end{gathered}[/tex]Final answer:
Hence, the equation of line is shown below:
[tex]y=-\frac{2}{3}x+\frac{7}{3}[/tex]