The distance between two points
is given by
as a direct application of Pythagorean theorem.
In your case, the points are
So, the distance is