CAYLEY 2001 Problem 23

A sealed bottle, which contains water, has been constructed by attaching a cylinder of radius 1\:cm to a cylinder of radius 3\:cm, as shown in Figure A. When the bottle is right side up, the height of the water inside is 20\:cm, as shown in the cross-section of the bottle in Figure B. When the bottle is upside down, the height of the liquid is 28\:cm, as shown in Figure C. What is the total height, in cm, of the bottle?

Answer Choices
A. 29
B. 30
C. 31
D. 32
E. 48