Refer to the diagram attached. Consider these two points as the two end points of the hypotenuse of a right triangle. The lengths of the two legs are equal to:
the difference between the two -coordinates, , and
the difference between the two -coordinates, .
Apply Pythagorean Theorem to find the length of the hypotenuse (which is equal to the distance between the two points in question.)