Suppose you have a 18 foot ladder, and you place it against a wall so that the angle it forms with the ground is equal to

(a) What is the distance from the bottom of the ladder to the wall?

(b) What is the distance from the top of the ladder to the ground?