a rectangular warehouse will have 5000 square feet of floor space and will be separated into two rectangular rooms by an interior wall. the cost of the exterior walls is $140 per linear foot and the cost of the interior wall is $110 per linear foot. find the dimensions that will minimize the cost of building the warehouse.