It appears that you just subtracted the leg length from the hypotenuse. You need to use the Pythagorean Theorem: .

Substitute the values and , and then solve for a.