It appears that you just added the two leg lengths. You need to use the Pythagorean Theorem: .
Substitute the values and and then solve for c.