Philosophy homework help

A rectangular package to be sent by a postal service can have a maximum combined length and girth (perimeter of a cross section) of 66 inches (see figure). Find the dimensions of the package of maximum volume that can be sent. (Assume the cross section is square.)