Apply the Pythagorean Theorem