A new factory is to be constructed, with 2 rectangular spaces, one twice as wide as the other (see floor plan below). This factory needs to enclose 120,000 square feet. The construction of each x linear feet of wall costs $20. Each y linear foot costs $100. Find the dimensions (x and y) that will minimize the cost of construction.
