careful, I don't think this problem is talking about a cube, I think it's talking about a square prism. In that case only two of the dimension must be equal, so you'll be dealing with , and where S is the surface area that you are trying to minimize. Rewrite S in terms of x (using the V equation) and you'll have a clearer picture of the bounds of x.