A farmer has 1776 feet of fencing available to enclose a rectangular area bordering a river. If no fencing is required along the river, find the dimensions of the fenced area that will maximize the area. What is the maximum area?