In a Right Triangle, the easiest way to solve the measure of the one side when two sides are given is by Pythagorean Theorem.
Where,
a = Opposite Side
b = Adjacent Side
c = Hypotenuse
Let's rotate the figure to better understand the problem,
Let's now find the value of x,
Thus, x = 10