Given a line and four points , , and (in that order) on the line, describe a straight edge (unmarked ruler) and compass construction producing a square such that lies on the line , on the line , on the line and on the line .
Solution
Note that we can use compass and ruler to find the perpendicular bisector of two given points. Thus, we can use this to locate the midpoint of two points, and draw the circle having a given segment as a diameter.
Construct the circles with diameter and respectively. Construct the midpoints and of and (using the perpendicular bisectors) such that and lie on the same side of . Construct the intersection point of the line and , and construct the intersection point of the line and . Also, construct the intersection point of and , and construct the intersection point of and . We claim that is the desired square.

By construction, we already know that , , , lie on , , , respectively. Since and are diameters of the two circles, we easily obtain . Also, since and are the midpoints of and , the line bisects and . It follows that
which implies . Also, as , we obtain . This proves is a square.