The farmer with 4000 meters of fencing wishes to enclose the rectangular plot which borders the river. Farmer wishes to separate pen into three sections but not interested in fencing side along river. Find maximum area he can enclose, and what are the dimensions of pen?