Since the width is 4, then the volume can be expressed as 4LH=36.
The surface area is
The cost would then be
But from the volume equation, .
Now, differentiate, set to 0 and solve for H to find the height requirement which will minimize the surface area and cost. You can then find L by subbing it back into the length equation we found. We already know the width is 4.