The formula to find the slope of a line is m =

where the x's and y's are your given coordinates and m is your slope. So, plug in your coordinates and solve.
m =
. I'll use (-1, 7).
Plug in your points and slope
y - 7 = -1(x - -1) Cancel out the double negative
y - 7 = -1(x + 1) Use the Distributive Property
y - 7 = -x - 1 Add 7 to both sides
y = -x + 6