Hello all, thank you for your time and help. I have no idea how to find this, as, since the lengths of the two legs cannot be congruent, you have two variables (X and Y, one variable per leg).

The altitude of a right triangle divides the hypotenuse into two segments whose lengths are 9 cm and 16 cm. Find the lengths of the two legs.

Thank you all for your help!