The diagram of the problem is:
S is the length of the shorter side of the fence. L is the length of the longest side of the field.
We know that the perimeter of the rectangle is 800ft. This means:

And the area:

The smaller rectangles will have dimensions:
The area is:

As we can see, if we maximize the area of the bigger rectangle "A", we are also maximizing the area of the smaller rectangles "a".
Then, we have two equations:

We can solve for L in the first equation:

Then substitute in the second:

Simplify:

This is a function of the area depending on the length of the shorter side of the rectangle:

We can find the maximum of this function if we find the value where the derivative of this function is 0.
Let's differentiate:

And now we find where A'(S) = 0:

We have found that the shorter side must have a length of 200ft to maximize the area. Let's find the length of the larger side:

As expected, the quadrilateral which maximizes the area is the square. Thus, the dimensions of the field are 200ft x 200ft