Square built from four given points on a straight line

Information: Square built from four given points on a straight line