So the problem is this.

It is required to enclose a rectangular field with a fence and then divide it into two lots by a fence parallel to one of the sides. If the area is given, what is the ratio of the two sides so that the total amount of fence is at a min?