The perimeter inside playing area is
.
Consider the width is
and the length is
.
The perimeter of rectangle is
.
The rectangle have two semicircles on each side, i.e
.

The area of play ground is
.
Substitue
in the above equation


.
The equation is
.
The area is maximum when the heigt is at
.
,here
and
.
Substitue above values into
.


The area is maximum when length is
.
Substitue
in
.

The area is maximum when width is
.
The area is maximum when length is
and width is
.