In order to solve an equation, we can apply a sequence of the same operations on both sides of the equation, until we isolate the variable x, and find its value.
We start by what numbers are on the same side as x, and apply the opposite operation in order to cancel that number on that side. For example, for Question #1, we have:
x + 6 = 12
Notice that we have a "+6" on the same side of the equation where the "x" is. So, we apply, on both sides, the operation "-6":
x + 6 - 6 = 12 - 6
x = 12 - 6
x = 6
Notice that, in practical terms, that is the same as taking out the "+6" from the left-hand side, and inserting the "-6" on the right-hand side.
So, let's use this practical rule in Question #2:
10 - x = 2
-x = 2 - 10
-x = -8
Now we multiply both sides of the equation by -1, remembering that the product of two negative numbers is a positive number:
(-1) * (-x) = (-8) * (-1)
x = 8