You can
put this solution on YOUR website!Given two points on a Cartesian coordinate plane with coordiates of (x1, y1) and (x2, y2), the distance between them is given by:
You can easily see this by constructing a right triangle in which the hypotenuse is the line between the two points, then using the Pythagorean theorem to find the length of the hypotenuse (the distance between the two points).