Two points and a line

A and B lie on a circle whose centre is on the given line L. The centre is equidistant from A and B, so it is where the perpendicular bisector of AB meets L.

Bisector meets the line
Centre
Radius r
Equation of the circle
Show