A roll of wire 50 metres long is used to fence a rectangular plot of ground and to divide it into two plots by a fence joining the midpoints of the two opposite sides. What dimensions will maximize the total area enclosed?