A box is contructed out of two different types of metal. The metal for the top and bottom, which are both square, costs $2 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 15 cubic feet.

Length of base
Height of side

You can earn partial credit on this problem.