The sum of the two sides of a right triangle is 14cm, and the area is 24cm ^ 2?

The sum of the two sides of a right triangle is 14cm, and the area is 24cm ^ 2?

Let one right edge be x, then the other is (14-x) cm
According to the meaning of the title: 1 / 2 * x (14-x) = 24
The square of X - 14x + 48 = 0
After formulation, the square of (X-7) - 1 = 0
X=8
Another: 14-8 = 6cm
A:___________ .