to solve for x, we'll first of all open the bracket and the collect like terms
[tex]3(x\text{ + 4) = 3x + 10 - 2x + 23 - x}[/tex][tex]\begin{gathered} 3x\text{ + 12 = 3x + 10 - 2x + 23 - x} \\ 3x\text{ - 3x + 2x + x = 10 - 12 + 23} \\ 3x\text{ = 21} \\ \end{gathered}[/tex]divide both sides by 3
[tex]\begin{gathered} 3x\text{ = 21} \\ \frac{3x}{3}\text{ = }\frac{21}{3} \\ x\text{ = 7} \end{gathered}[/tex]x = 7