A square is inscribed in a right-angled isosceles triangle with the two shorter sides p and q such that the square has a common right angle with the triangle. What is the perimeter of the square?
Assume p=1 and q=1.
Since only variables are used, the conditions should satisfy any right-angled triangle. The side of the square becomes 0.5 or 12. The perimeter = 4×12=2
Look in the answer options, where on the substitution of p=1 and q=1, you get 2.