ryan15
you can just plot these points on a piece of paper by your common sense and check whether it forms a square by applying the distance formula
sqroot of ((y2y1)(y2y1) + (x2x1)(x2x1)
and check if they are equal or not and also it will be visibly clear from the diagram that sides are perpendicular or not.
