For each of these you ned to apply the formula for the volume of a cylinder, which you should know is . Here you are given the diameter of each cylinder, and since this makes the volume formula . Finally, given that there are 7.47 gallons/ft^3, you can convert the volume formula to gallons by multiplying by that factor:
Now you should be able to solve each problem. Post back with yuor answers and we'll check them.