Optimization at a fixed cost
A rectangular area is to be enclosed and divided into thirds. The family has $800 to spend for the fencing material.
The outside fence costs $10 per running foot installed, and the dividers cost $20 per running foot installed. What are the dimensions that will maximize the area enclosed?
(The answer contains a fraction.)