The coordinates are
and
.
(Distance formula)
(Substitute
and
)
(Subtract:
and
)
(Evaluate powers:
and
)
(Addition:
)

The distance is
.
The distance is
.