Cost Find a formula C(x, y, z) that gives the cost of materials for the closed rectangular box in Fig. 7(a), with dimensions in feet. Assume that the material for the top and bottom costs $3 per square foot and the material for the sides costs $5 per square foot.