Construct the perpendicular bisector of AB, that is a line that passes through the midpoint and is perpendicular to AB.

Use only staight objects and circles in your construction.

A = (-2.84, 0.66)
B = (0.42, 0.64)
a = Segment(A, B)