It seems that you are trying to solve for X. The first steps would be to use inverse operations in order to isolate and then solve for X. You would have to distribute the 4 into x+8, giving you 4x+32-4 = 34-2x. Then simplify it a bit, giving you 4x+28=34-2x. Add 2x to both sides and subtract 28 from both sides. This gives you 6x=6. Divide by 6 on both sides and you get X=1.
Answer: X=1