Let d1= the diameter of the base of the first container, h1= the heigth of the first container and V1= the volume of the first container.
Let d2= the diameter of the base of the second container, h2= the heigth of the second container and V2= the volume of the second container.
Then
h1=2d1,V1=π(2d1)2h1=21πd13=161πh13
h2=3d2,V1=π(2d2)2h2=43πd23=361πh23
Given
V1=V2=12L=12000cm3
43πd23=12000cm3
d2=33π4(12000)cm
d2=203π2cm≈17.205 cm The diameter of the second container is 203π2cm≈17.205 cm.