For this you will be using the pythagorean theorem, aka

.
Firstly, plug in 4 and x into the leg variable and 10 into the hypotenuse variable:

.
Next, solve the exponents, and you should get

Subtract 16 on each side to get

Then square root each side to get

, which can be rewritten as

.