1. I've made a sketch of the package (see attachment)

2. Since there are only given2measures Iassumethat the package should have a square cross-section.

3. The volume of the package is calculated by:

with the constraints

4. Therefore the volume is a function of the width of the package: