Two lines are having same slopes and two are having slopes negative reciprocal
So the angles formed are 90 degrees.
If the distances aer equal then the co ordinates form a square.
l(AB)
x1 y1 x2 y2
-3 1 1 4
d=
d=
d=
d=
d= 5
l(BC)
x1 y1 x2 y2
4 0 1 4
d=
d=
d=
d=
d= 5
l(CD)
x1 y1 x2 y2
4 0 0 -3
d=
d=
d=
d=
d= 5
l(DA)
x1 y1 x2 y2
-3 1 0 -3
d=
d=
d=
d=
d= 5
The lengths are all 5 units. and they are at right angles. so it is a square.