guys please help me with this

"A cylindrical tin can holding 2 gal. has its height equal to the diameter of is base. Another cylindrical tin can with the same capacity has its height equal to twice the diameter of its base. Find the ratio required for making the two cans with covers."

please,....