Use
to find the slope of the line through and .
Label the coordinates before touching the formula. Most sign errors in this problem come from mixing up which point is which, so commit to one assignment and keep it:
Compute the rise (the change in y). Subtract in the same order as the labels, and keep the brackets around the negative coordinate:
Compute the run (the change in x).
Divide rise by run.
Sanity-check the sign and the order. A negative slope means the line falls as increases, which matches going from down to . Reversing both subtractions also works, since
what you must never do is reverse only one of them.
Need to solve a different problem like this? Open the solver →