Answer:
[tex]y=\frac{1}{2}x-3[/tex]
Step-by-step explanation:
The question is
Find the equation of the line for points (-2,-4) and (4,-1)
step 1
Find the slope
The formula to calculate the slope between two points is equal to
[tex]m=\frac{y2-y1}{x2-x1}[/tex]
we have
(-2,-4) and (4,-1)
substitute
[tex]m=\frac{-1+4}{4+2}[/tex]
[tex]m=\frac{3}{6}[/tex]
[tex]m=\frac{1}{2}[/tex]
step 2
Find the equation if the line in point slope form
[tex]y-y1=m(x-x1)[/tex]
we have
[tex]m=\frac{1}{2}[/tex]
[tex]point\ (4,-1)[/tex]
substitute
[tex]y+1=\frac{1}{2}(x-4)[/tex]
step 3
Convert to slope intercept form
[tex]y=mx+b[/tex]
we have
[tex]y+1=\frac{1}{2}(x-4)[/tex]
isolate the variable y
[tex]y+1=\frac{1}{2}x-2[/tex]
[tex]y=\frac{1}{2}x-2-1[/tex]
[tex]y=\frac{1}{2}x-3[/tex]