I am stuck on this question. i would really appreciate some help
A rectangular warehouse will have 5000 square feet of floor space and will be separated into two rectangular rooms by one interior wall. The cost of the exterior walls is $150 per liner foot, while the cost of the interior walls is $100 per linear foot. Find a formula that gives the construction cost as a function of the length of the building. Find the dimensions (rounded to the nearest hundredth) of the warehouse that minimize the construction cost.