Square Construction from Segment

Construct a square with side AB.

Information: Square Construction from Segment