Find the length of the apartment in terms of x.


We have to find the length of the apartment in terms of x. This is, we will sum the lengths of the rooms, thus:
[tex]x+(x+5)+(2x-1)+x+(x+8)[/tex]Simplifying, we obtain:
[tex]\begin{gathered} =x+x+5+2x-1+x+x+8 \\ =6x+12 \end{gathered}[/tex]This means that the length of the apartment is 6x+12.