This question was asked in Example 14

How to identify side of the right angle triangle

Himanshu Gupta's image