The problem is as follows:
Alice and Willy had bought a new house. The figure from below is a sketch of the house. The couple wants the home to be surrounded completely by a wooden fence, which must occupy the maximum area as posible in front of the house. This is is indicated by a lighter shade in the drawing where $ABCD$ is a rectangle. The couple however, only got the materials including the wood, nails and paint from the hardware store to complete $98$ meters of the fence. Assuming the maximum area the couple wants to enclose starts in front of the house as indicated in the arrow up to the entrance of the house, How many meters in a straight line from the house will the entrance to the fence be located?
The alternatives in my book are as follows:
$\begin{array}{ll} 1.&18\,m\\ 2.&14\,m\\ 3.&16\,m\\ 4.&25\,m\\ \end{array}$
I'm assuming that to solve this problem it is required the use of derivatives, since it will be generated a quadratic equation. But I don't know how to establish such equation. Can someone help me with this part?.
Since what they require is to get the maximum area, I believe it will be given by:
$a(b+c+2)=A$
Assuming the small segments b and c are between the entrance door in the fence.
Since $a+b+c=98$
Then this means:
$a(98-a+2)=A(a)$
Then this would mean:
$A(a)=a(100-a)=100a-a^2$
Since the function will be as follows:
$A(a)=100a-a^2$
Thus the way to attain the maximum will be the derivate equal to zero.
$A'(a)=100-2a=0$
$a=50$
Therefore this would be the maximum.
But this answer does not appear in the alternatives. Which part did I made a mistake?. Can someone help me here?. Please an answer must include a drawing since for me it is difficult to spot where to establish the right equation in order to maximize it.
