Let x = length of a side of the base
y = height
Then, x2y = 32000, so y = 32000 / x2
Let S = surface area = area of base + total area of the 4 sides
= x2 + 4xy = x2 + 4x(32000 / x2)
= x2 + 128,000 / x, x > 0
Minimize S: S' = 2x - 128,000 / x2
= (2x3 - 128,000) / x2
S' = 0 when 2x3 = 128,000
x3 = 64,000
x = 40
When 0 < x < 40, S' < 0. So, S is decreasing.
When x > 40, S' > 0, so S is increasing.
Therefore, surface area is minimized when x = 40 cm and y = 32000 / 402 = 20 cm.