Example 2: The triangle below is a right triangle. Solve for x.

Image shows a right triangle with leg lengths x and 9 and a hypotenuse of 15.

Fill in the blanks.