Use the 2 point formula:
Say you subbed with 7
Then the numerator must be from the same point you subbed first, in this case, it has to be -4.
Regardless which way you put which points in first, you will always get the same answer.
To refrain from getting confused, label the points.