Problem 2. The length of segment $A B$ is $2 \mathrm{~cm}$ longer than the length of segment $C D$. If the length of segment $C D$ is tripled, and the length of segment $A B$ is increased by $10 \mathrm{~cm}$, the resulting segments will be equal. What are the lengths of segments $A B$ and $C D$?
Solution. Let $x$ be the length of segment $C D$. Then $3 x=x+2+10$. Therefore, $x=6$, and $\bar{l} \bar{\beta}=6+2=8 \mathrm{~cm}$.