A farmer wants to fence an area of million square feet in a rectangular field and then divide it in half with a fence parallel to one of the sides of the rectangle. What should the lengths of the sides of the rectangular field be so as to minimize the cost of the fence?

y = - x2

ft (smaller value)

ft (larger value)