Answer:
See explanation.
Step-by-step explanation:
The area [tex]A_B[/tex] of the bigger rectangle is its width [tex](x-2)[/tex] times its height [tex]2x+x[/tex]:
[tex]A_B = (x-2)(2x+x)\:cm^2[/tex]
Similarly, the area [tex]A_S[/tex] of the smaller rectangle is
[tex]A_S= x(x-4)\:cm^2.[/tex]
Together, we are told that the area of the compound shape is [tex]36cm^2[/tex]; therefore,
[tex]A_B+A_S= 36\:cm^2[/tex]
[tex](x-2)(2x+x)+ x(x-4)\:cm^2 = 36\:cm^2[/tex]
Expanding the left side of the equation, we get:
[tex]4x^2 -10x =36\:[/tex]
[tex]4x^2-10x -36 =0[/tex].
Divide both side by 2, and we get:
[tex]\boxed{ 2x^2-5x -18=0}[/tex]
Using the quadratic equation the solution to this equation we get are:
[tex]x = \dfrac{5\pm\sqrt{25-4(2)(-18)} }{4}[/tex]
[tex]x = \dfrac{5\pm 13 }{4} \\\\x= -2\\\\x=4.5[/tex]
From these to solutions we pick the positive value [tex]x =4.5[/tex], since the lengths cannot be negative.
Since the length of AB is [tex]x[/tex], it is 4.5 cm:
[tex]\boxed{AB =4.5 \: cm.}[/tex]