x = 10 is the solution to the equation
Here, we want to find the value of x.
To find the value of x, we need to bring like terms together.
[tex]\begin{gathered} 2x\text{ + 4 = 24} \\ \\ 2x\text{ = 24-4} \\ \\ 2x\text{ = 20} \\ \\ x\text{ = }\frac{20}{2} \\ \\ x\text{ = 10} \end{gathered}[/tex]