Points [tex]X(-2,1)[/tex] and [tex](-4,-3)[/tex] are defined therefore we have all data we need to construct equation.
Linear function has a form of,
[tex]y=ax+b[/tex]
First calculate the slope a.
[tex]a=\dfrac{dy}{dx}=\dfrac{-3-1}{-4-1}=\dfrac{-4}{-5}=\dfrac{4}{5}[/tex]
Now plug in the coordinates of either one of the points into the linear function. I'll pick point X.
[tex]y=ax+b\Longrightarrow1=\dfrac{4}{5}\cdot(-2)+b[/tex]
Now just solve for b.
[tex]1=-\dfrac{8}{5}+b\Longrightarrow b=\dfrac{13}{5}[/tex]
The equation is therefore,
[tex]\boxed{y=\dfrac{4}{5}x+\dfrac{13}{5}}[/tex]
Hope this helps.
r3t40