A farmer wants to enclose a rectangular field along a river on three sides. If 2,800 feet of fencing is to be used, what dimensions will maximize the enclosed area?