We have to show that this is a square, meaning all the sides are perpendicular and the same distance.
A(3,4), B(2,-2), C(-4,-1), D(-3,5)
For each side we calculate the squared distance and the slope. We don't have to bother to take the square root. We'll subtract the points first because that difference, called the direction vector, goes into both the calculation of the slope and of the distance.
AB=B-A=(2 - 3, -2 - 4) = (-1, -6). slope=-6/-1=6 AB²=(-1)²+(-6)²=37
BC=C-B=(-6, 1). slope=1/-6=-1/6. BC²=(-6)²+1²
CD=D-C=(1, 6). slope=6/1=6 CD²=1²+6²=37
DA=A-D=(6,-1) slope=-1/6 DA²=37
We see the negative reciprocal slopes, alternating between 6 and -1/6, indicating perpendicular sides. We see they all have squared distance 37. Equal perpendicular sides proves its a square.
If we do these problems enough we learn: There's no point taking the square root. In fact, there's really no point computing the slopes and the squared distances; we can see it's a square from the pattern of the direction vectors of the sides: (-1, -6) (-6, 1) (1, 6) (6,-1)