Let r denote the radius of the base and h the height of the cylinder. The you know:

and the area of the material which is used to build the cylinder:

Solve the equation of the volume for h and plug in this term into the equation of a:

Determine the first derivation and solve a'(r) = 0 for r: