"a box is constructed out of two different types of metal. the metal for the top and bottom, which are both square, costs $4 per square foot and the metal for the sides costs $7 per square foot. find the dimensions that minimize cost if the box has a volume of 30 cubic feet."