Here is the question...

"A industrial tank is formed by adjoining two hemispheres to the ends of a right circular cylinder. The total volume of the tank must be 3000 cubic feet. The hemispherical ends cost twice as much per square foot of surface area as the sides. Find the dimensions that will minimize cost."

Can anyone do this and explain to me how its solved? Thanks in advance.