The sum of the two right angles of a right triangle is 14cm, and the area is 24cm2

The sum of the two right angles of a right triangle is 14cm, and the area is 24cm2

Let the two long right angle sides be a and the short right angle side be B
ab/2=24
a+b=14
The solution is: a = 8, B = 6
So the length of the two right angles is 8cm and 6cm