Distance is represented as dist((x1 , y1 ), (x2 , y2 ))= sqrt((x2 - x1 )^2 - (y2 - y1)^2)
If we state the right triangle in Cartesian plane to be 3 points (0,0), (x1 , y1), and (x2 , y2) satisfying x1x2 + y1y2 +0. Using only properties of Cartesian plane, prove that Pythagorean Theorem holds for right triangle in Cartesian Plane.