[tex]\diaplaystyle\\
x=\text{Apartamente cu 2 camere}\\
y=\text{Apartamente cu 3 camere}\\
\text{Scriem ecuatiile:}\\
\begin{cases}
x+y=105~~~\Big|~\cdot (-2)\\
2x+3y=238
\end{cases}\\\\
\begin{cases}
-2x-2y=-210\\
2x+3y=238
\end{cases}\\\\
--------- \text{Adunam ecuatiile}\\
~~~~/~~~~~~\boxed{\bf y=28~\text{\bf apartamente cu 3 camere}}\\\\
x+y=105
x = 105 - y = 105-28\\
\boxed{\bf x=77~\text{\bf apartamente cu 2 camere}}[/tex]