Observe the figure :
\The perimeter of the frence is
is equals to
.
Area of the frence is
.
Consider
.
Substitute
in
.

Area of the frence is
.
Substitute
in
.


Derivative on each side with respect to
.

Equate derivative to zero.
\
If
, then
.
The dimensions are
and
. \ \