Given the question:
[tex]5x+2x-3=18[/tex]To solve the question, we will have to first collect like terms
So we will re-write as follow
[tex]5x+2x=3+18[/tex]Next, we will simplify as follow:
[tex]7x=21[/tex]To find the value of x, we will simply divide both sides by 7
[tex]\begin{gathered} x=\frac{21}{7} \\ \\ x=3 \end{gathered}[/tex]Thus, the value of x = 3