[tex]x+2=5x+26[/tex]
Move all the x's to one side of the equation. This is a step necessary to solve this equation.
Subtract both sides by x.
[tex]x+2-x=5x+26-x[/tex]
[tex]2=4x+26[/tex]
Flip equation. We always want to have the variable written on the left side.
[tex]4x+26=2[/tex]
Subtract both sides by 26.
[tex]4x+26-26=2-26[/tex]
[tex]4x=-24[/tex]
Divide both sides by 4 to finish this off.
[tex]x=-6[/tex]
That's your answer. Have an awesome day! :)