given order pairs (-4,-2) and (-1,-5), develop an equation in the slope intercept format

first solve for the slope (m)

then in the equation in the slope intercept format y=mx+b

2 answers

m = (-5 -(-2)) / (-1 -(-4)),
m = -3 / 3 = -1.

y = mx €= b,
-2 = (-1)(-4) + b,
-2 = 4 + b,
-6 = b,
b = -6.

Eq: y = -x - 6
CORRECTION:
Y = mx + b.