A box needs a fixed volume, but the material for the lid and base costs more than the material for the sides. Work out the dimensions that minimise total cost, not just total surface area.
Standard optimisation problems minimise surface area for a fixed volume. Real packaging is different: corrugated card for the base often costs more per square centimetre than the side panels, because it needs to bear weight. This idea asks what happens to the optimum dimensions once you price the faces differently instead of treating every square centimetre as equal.