To understand how this works you need to know two things
a) that x is just like another number
b) what = means
= means that what is on the left side of the equation is EQUAL to what is on the right side of the equation
So to be true to what EQUAL means, whatever you do to the left side you have to do to the right side
I'm going to use * to mean multiply since x means something other than multiply here.
so for x + x + 2 + 2 * x = -2
it's like a puzzle, get just x on one side of the = sign and you win
Since all the x's are already on the left, let's round them up
1 * x + 1 *x + 2*x + 2 = -2
so if I had 1 apple + 1 apple + 2 apples how many apples is that?
4 * x + 2 = -2
Next we want to get rid of the 2 on the left side, so SUBTRACT 2 from both sides
4 * x + 2 - 2 = - 2 - 2
4 * x = - 4
Finally we want to get rid of the 4 in front of the x, so divide both sides by 4
4 * x/4 = -4/4
x = -1
The other problem you should do yourself.