
Mark H. answered 02/02/20
Tutoring in Math and Science at all levels
Referring to your picture, the x and y values define a slope for the hypotenuse: m = -Y/X.
Using this, we can write the equation for the hypotenuse: y = Y + mx = Y - (Y/X)*x
So y2 = Y - (Y/X)*x2