A radio technician is tasked to accommodate an antenna and other supplies for a tv broadcast in a certain terrain of rectangular shape. This terrain must have a large which exceeds its width in $4$ meters. The area is required to be less than $165$ square meters and its width must have an odd length also measured in meters. Given these conditions find maximum perimeter of such terrain.

The alternatives given in my book are as follows:

$\begin{array}{ll}

1.&\textrm{52 meters}\\

2.&\textrm{36 meters}\\

3.&\textrm{48 meters}\\

4.&\textrm{44 meters}\\

\end{array}$

How exactly can I find the maximum perimeter? What it came to my mind was to attempt using the first derivative as it is mentioned that:

$\textrm{x = width of the terrain}$

$\textrm{x+4 = large of the terrain}$

Therefore the area is:

$x(x+4)<165$

$x^2+4x<165$

$x^2+4x-165<0$

Hence solving this results into:

$x=\frac{-4\pm\sqrt{676}}{2}$

But this doesn't yield exactly a value which I could use:

Then I attempted to do this by trying the first derivative as:

$A(x)=x^2+4x-165$

$A'(x)=2x+4=0$

Then this would be the minimum:

$x=-2$

But this is not what I'm being requested.

Even if I attempt to evaluate the function it does yield:

$A(-2)=4-8-165=-169$

which is negative and it doesn't make sense.

What would be the right approach for this problem? Can someone help me and indicate which part did I made a mistake or conceptual flaw? It would help a lot to include some step by step solution to see what I did wrong. Help please!