Let the sides of the triangle (in cm ) be a,b, and c, where a<b<c. ∴c is the hypotenuse and a and b are the perpendicular sides.
Given, a+b+c=12(1) 21(a)(b)=6(2)
From Eq. (1) ⇒a+b=12−c
Squaring both sides, a2+b2+2ab=122−24c+c2 =a2+b2+4(21ab)=122−24c+c2 ⇒c2+4(6)=122−24c+c2 c=5 .