Let:
x = length and width of the square base of the tank
h = height of the tank
Vtank = Volume of the tank = 2746 ft3
SAtank = surface area of the tank
Vcement = Volume of the cement base
Vtank = x2h = 2746
h = 2746/x2
Since the tank is rectangular prism, then the surface area of the tank is:
SAtank = 2x2 + 4xh
substitution:
SAtank = 2x2 + 4x(2746/x2)
SAtank = 2x2 + 10984/x
Volume of the cement base is:
Vcement = x2(1) = x2
The cost of the metal is 24*SAtank and the cost of the cement is 13*Vcement. Therefore the total cost (C) is:
C = 24(2x2 + 10984/x) + 13x2
Simplify:
C = 61x2 + 263616/x
Get the derivative of C:
dC/dx = 122x - 263616/x2
Make dC/dx = 0 to get the local minimum.
0 = 122x - 263616/x2
0 = (122x3 - 263616)/x2
0 = 122x3 - 263616
x ≈ 12.928 ft. (both length and width because it's a square.)
For the height:
h = 2746/(12.928...)2
h ≈ 16.430 ft.