A farmer wants to fence a rectangular area adjacent to a straight river with an extra partition running perpendicular to the river. If he has 3000 yards of fencing and no fencing is needed alone the river, then what is the maximum area he can enclose