Solution
From the given figure
Let x represent the cross section of the package
Let y represent the length of the package
The formula for the volume, V, of the package (a cubiod) is

And

Substitute for the variables into the formula above

For the perimeter of the crossection

Make y the subject

Substitute for y into the Volume, V.

Differentiating the above expression gives

Where V' = 0

Since x can't be negative, thus, x is 19 inches
Recall that

Hence,