Pythagorean Theorem Solution