The area of a right triangle is 6. The sum of two right angles is 7. How long is the hypotenuse? A + B = 7 why?

The area of a right triangle is 6. The sum of two right angles is 7. How long is the hypotenuse? A + B = 7 why?

Let two right angle sides a and B
1/2*a*b=6
a+b=7
The solution is a = 3, B = 4 or a = 4, B = 3
According to Pythagorean theorem, a ^ 2 + B ^ 2 = C ^ 2, so the length of hypotenuse is 5
(because the sum of two right angle sides is 7, so a + B = 7)