I understand Pythagorean Theorem ok, but can't figure this out
The first picture shows the answers. I don't understand how they calculated "O" to be 39. I can't see how the given 63 and 24 lengths would give you the missing length of "O". I understand the formulas, but I must be missing something else.