A 50-foot ladder leans against a wall, as shown in the figure below. If the base of the ladder is 30 feet away from the wall, how tall is the wall?

Select one:
A. 3
B. 4
C. 5
D. 40