Square from One Side

How to construct a square from one side
using just a compass and a straightedge

images/construct.js?mode=square