ok i cant answer the exact answer cause i don’t have paper put i’ll give you the format
it’s is
y2-y1
———-
x2-x1
that’s is the formula, you take the second y coordinate and subtract it from the first y then you do the second x coordinate and subtract it from the first x coordinate. hope this helps you