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 2 cent/cm2. find the dimensions of the box that minimize the total cost of materials used.