Given a line segment, construct a square that has that segment as a diagonal.