X + 4 = (40-x) - 8 how to solve the equation of first degree with one variable?

X + 4 = (40-x) - 8 how to solve the equation of first degree with one variable?

x+4=(40-x)-8
x+4=40-x-8
transposition
x+x=40-8-4
Merge congeners
2x=28
Divide both sides by two
2x÷2=28÷2
x=14