the question probably sounds like this:
" A cylindrical container of radius r and height h has a constant volume V. The cost of materials for the surface of both its ends are twice the cost of its sides. State h in terms of r and V. Hence, find h and r in terms of V such that the cost is minimum."
Now, if you use the cost comparison given, it's 2(2*pi*r^2) = 2*pi*r*h which will conclude to 2r = h
since V = pi*r^2*h, state h in terms of V and r as V is constant, you'll get h = V/(pi*r^2)
Then, substitute 2r into h of h = V/(pi*r^2), now you get 2r = V/(pi*r^2), solve for the r and it will give r = (V/2*pi)^(1/3)
Now that you have r = (V/2*pi)^(1/3) , just substitute right hand side of r to the r in h = V/(pi*r^2) to get h which is h = (4V/pi)^(1/3)