Answer:

Step-by-step explanation:
Here, we want to get the legs of the triangle
Let the shorter length be x cm
The longer leg will be (x + 6) cm
The hypotenuse length will be (x + 12) cm
According to Pythagoras' theorem. the square of the length of the hypotenuse equals the sum of the squares of the lengths of the two other sides
Thus:

Solving the quadratic equation, we have it that:

We discard x = -6
This would give us a side length with 0 length
Now, using x = 18:
we have the side lengths as:
18, 18 + 6 and 18 + 12 :
18, 24 and 30