The points (1,7), (4,2), (−1,−1) and (−4,4) are the vertices of a:
Distance between the points B(4,2) and C (−1,−1)=√(−1−4)2+(−1−2)2=√25+9=√34
Distance between the points C(−1,−1) and D (−4,4)=√(−4+1)2+(4+1)2=√9+25=√34
Distance between the points A(1,7) and D (−4,4)=√(−4−1)2+(4−7)2=√25+9=√34
Since, length of the sides between all vertices are equal, they are the vertices of a square.