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.