Farmer Brown, distant mathematical cousin of Mr. Brown, wants to enclose a grazing area along a river bank and build an opera hall. He has 500m of fencing available and none can be used along the riverbank. What are the dimensions that give the largest possible area?