Respuesta :

Let [tex]x,y[/tex] be the dimensions of the rectangle. We know the equations for both area and perimeter:

[tex]A=xy=36[/tex]

[tex]P=2(x+y)=36 \iff x+y=18[/tex]

So, we have  the following system:

[tex]\begin{cases}xy=36\\x+y=18\end{cases}[/tex]

From the second equation, we can deduce

[tex]y=18-x[/tex]

Plug this in the first equation to get

[tex]xy=x(18-x)=-x^2+18=36[/tex]

Refactor as

[tex]x^2-18x+36=0[/tex]

And solve with the usual quadratic formula to get

[tex]x=9\pm3\sqrt{5}[/tex]

Both solutions are feasible, because they're both positive.

If we chose the positive solution, we have

[tex]x=9+3\sqrt{5} \implies y=18-x=18-9-3\sqrt{5}=9-3\sqrt{5}[/tex]

If we choose the negative solution, we have

[tex]x=9-3\sqrt{5} \implies y=18-x=18-9+3\sqrt{5}=9+3\sqrt{5}[/tex]

So, we're just swapping the role of [tex]x[/tex] and [tex]y[/tex]. The two dimensions of the rectangle are [tex]9+3\sqrt{5}[/tex] and [tex]9-3\sqrt{5}[/tex]