Amount of water inside the horizontal cylindrical tank

Problem
A closed cylindrical tank measures 12 ft. long and 5 ft. in diameter. It has to contain water to a depth of 3 ft when lying in the horizontal position. Find the depth of water when it is in vertical position.
 

Solution