um you would have to do a certain formula which is x2 - x1 over y2 - y1 wo, it would look like this let me show you an example x1 is 12 and x2 is 24, y1 is 2 and y2 is 4 so it would be like this 24 - 12 over 4 - 2 so to do that all you have to do is subtract now which is 4 - 2 = 2 and 24 - 12 is 12 so your answer would tecnically be 12 over 2 I hope this helped you out