Answer:
[tex]y=-4x+2[/tex]
Step-by-step explanation:
we know that
The equation of the line in slope intercept form is equal to
[tex]y=mx+b[/tex]
Step 1
Find the slope m
Let
[tex]A(1,-2),B(2.-6)[/tex]
[tex]m=(-6+2)/(2-1)=-4[/tex]
Step 2
Find the value of b
we have
[tex]m=-4[/tex]
[tex]A(1,-2)[/tex]
substitute in the equation of the line
[tex]y=mx+b[/tex]
[tex]-2=(-4)(1)+b[/tex]
[tex]-2=-4+b[/tex]
[tex]b=2[/tex]
The equation in slope intercept form is equal to
[tex]y=-4x+2[/tex]