==============================================
Explanation:
We can use point slope form to get this answer
y - y1 = m(x - x1)
y - y1 = -2(x - x1) ... plug in the given slope m = -2
y - (-7) = -2(x - 6) .... plug in the given point (x1,y1) = (6,-7)
y + 7 = -2(x - 6)
y + 7 = -2x + 12
y = -2x+12-7 ... subtract 7 from both sides
y = -2x+5
This is in y = mx+b form with m = -2 as the slope and b = 5 as the y intercept.
-----------------
Alternative Method:
y = mx+b
y = -2x+b ... plug in m = -2
-7 = -2(6)+b ... plug in the given point
-7 = -12+b
-7+12 = b
5 = b
b = 5
With m = -2 and b = 5, we go from y = mx+b to y = -2x+5