a closed rectangular box with a square bottom will be constructed from two different materials. the material used for the top and bottom costs 8 dollars per square foot and the material used for the four vertical sides costs 18 dollars per square foot. express the total cost of constructing the box in terms of w and h.