Let $r$ be the radius of the cylindrical can and $h$ be its height. Then we have $A = \pi r^2+2\pi r h$ fixed, as that is the total area. You will now need to determine the dimensions $r, h$ of the largest volume can, in terms of the known $A$.
One way to do this is to write $h$ in terms of $r$ and other known elements, as $h = \dfrac{A-\pi r^2}{2\pi r}$, and use this in the formula of $V$, i.e. $V = \pi r^2h = \frac12r(A-\pi r^2)$. Now we have $V$ as a function of one variable $r$, and calculus can be used to find its maximum.
$$\frac{dV}{dr} = \frac{d}{dr}\left(\frac12rA - \frac12 \pi r^3 \right)= \frac12(A-3\pi r^2)$$
For an extremum the above is zero, i.e. $r^2 = \dfrac{A}{3\pi}.\;$ As $\dfrac{dV^2}{dr^2}=-\frac32 \pi r < 0$, we are assured this is a maximum.
Now $h = \sqrt{\dfrac{A}{3\pi}}$, $V_{max} = \sqrt{\dfrac{A^3}{27\pi}}$ etc. can be worked out.