# How to compute geodesics in upper half-plane?

Given two points in the upper half-plane with the usual hyperbolic metric, the geodesic between them is found by drawing a circle through them that crosses the real axis at right angles. However, if I give you coordinates for the points, how do I construct such a circle explicitly? I guess this becomes a question in classical plane geometry, but I don't see how to do it.

-