Answer:
[tex]y=2x+1[/tex] or [tex]y+1=2(x+1)[/tex]
Step-by-step explanation:
step 1
Find the slope of the line
The formula to calculate the slope between two points is equal to
[tex]m=\frac{y2-y1}{x2-x1}[/tex]
we have
[tex]A(3,7)\ B(-1,-1)[/tex]
Substitute the values
[tex]m=\frac{-1-7}{-1-3}[/tex]
[tex]m=\frac{-8}{-4}=2[/tex]
step 2
Find the equation of the line into slope point form
[tex]y-y1=m(x-x1)[/tex]
we have
[tex]m=2[/tex]
[tex]pointB(-1,-1)[/tex]
substitute
[tex]y+1=2(x+1)[/tex] -----> equation of the line into point slope form
[tex]y=2x+2-1[/tex]
[tex]y=2x+1[/tex] -----> equation of the line into slope intercept form