Using the Pythagorean Theorem to find a trigonometric ratio