Find the equation of a line that passes through the points (1,-2) and (3,-4). Express your final answer in slope-intercept form.

[tex]\text{Given that,}\\\\(x_1,y_1) = (1,-2)~~ \text{and}~~ (x_2,y_2) = (3,-4)\\\\\text{Slope,}~ m= \dfrac{y_2-y_1}{x_2 -x_1} = \dfrac{-4+2}{3-1} = -\dfrac 22 = -1\\\\\text{Equation with given points,}\\\\y-y_1 = m(x-x_1)\\\\\implies y +2 = -1(x-1)\\\\\implies y = -x+1 -2\\\\\implies y = -x-1\\\\\text{This is the slope-intercept form(y =mx+b).}[/tex]
Answer:
y=-x-1
Step-by-step explanation:
m=(y2-y1)/(x2-x1)
m=(-4-(-2))/(3-1)
m=(-4+2)/2
m=-2/2
m=-1
y-y1=m(x-x1)
y-(-2)=-1(x-1)
y+2=-x+1
y=-x+1-2
y=-x-1