This question was asked in Ex 6.5, 13

State and. Prove Pythagoras theorem

Aqsa Inamdar's image