Question: what is the formula used to calculate slope?
Answer: Since you already know that ordered pair is in the format of (x, y), then you can label one of the ordered pairs as 1 and kind of distribute it to get 1(x, y) = (x-sub1, y-sub1). Then just use the slope formula (y2-y1)/(x2-x1).