[tex]\begin{gathered} \frac{1}{3}(3x+18)=8-2(x-5) \\ \text{open the bracket} \\ \frac{3x}{3}+\frac{18}{3}=8-2x+10 \\ x+6=18-2x \\ collect\text{ like terms} \\ x+2x=18-6 \\ 3x=12 \\ \text{divide both sides by 3} \\ \frac{3x}{3}=\frac{12}{3} \\ x=4 \end{gathered}[/tex]