Answer:
[tex]5x + 2 = 22 \\ collecting \: like \: terms \: \\ 5x = 22 - 2 \\ 5x = 20 \\ x = \frac{20}{5} \\ x = 4[/tex]