Let the points A (2, -2), B (-2, 1) and C (5, 2) are the vertices of right angled triangle.
AB2 = (- 2 – 2)2 + (1 + 2)2
= 16 + 9 = 25
BC2 = (5 + 2)2 + (2 – 1)2 = 49 + 1 = 50
And AC2 = (5 – 2)2 + (2 + 2)2 = 9 + 16 = 25
AB2 + AC2 = 25 + 25 = 50 = BC2

Since, BC2 = AB2 + AC2,
So by converse of phythagores theorem ∠A = 90° there fore point A (2, – 2), B (- 2,1) and C (5, 2) are the vertices of a right angled triangle
Here, x1 = 2, y1 = -2, x2 = -2 , y2 = 1, x3 = 5, y3 = 2
Area of ∆ABC
