Design a rectangular milk carton box of width w, length l, and
height h which holds 512 cm3 of milk. The sides of the box cost 1
cent/cm2 and the top and bottom cost 3 cent/cm2. Find the
dimensions of the box that minimize the total cost of materials
used.