The fish tank is a hexagonal prism, since its base is shaped like a hexagon.
Each side of the hexagonal base measures 12 inches, while the height measures 30 inches.
The volume of the fish tank therefore, is given by the formula;
[tex]\begin{gathered} V=\frac{3\sqrt[]{3}}{2}\times a^2\times h \\ a=12\text{ (side measure of the base} \\ h=30 \\ V=\frac{3\sqrt[]{3}}{2}\times(12)^2\times30 \\ V=\frac{3\sqrt[]{3}}{2}\times144\times30 \\ V=\frac{3\sqrt[]{3}}{2}\times4320 \\ V=\frac{3\times1.7321}{2}\times4320 \\ V=11224.008in^3 \end{gathered}[/tex]However note that the volume is to be given in gallons, and hence we'll convert cubic inches into gallons.
The standard rate of conversion is
1 cubic inch = 0.004329 gallons.
Therefore, the volume in gallons is, 48.5888 (approximately)