Answer:
10 and 24units
Explanation:
Pythagoras' Theorem
Pythagoras' Theorem applies to right angle triangles with the formula:

where c is the longest side, with a and b the shorter ones (interchangable)
Solution
With the parameters given from the question and the formula given as well, we can find the value of x and therefore the side lengths.
By Pythagoras' Theorem,

Now we can find the side lengths.

Therefore the side lengths are 10 and 24 units.