This question was asked in Ex 4.1, 1
Cless 4 th ki exercise 4a book ka name pythagorean maths

Vaibhaw Sahu's image