Ok, so
We want to solve the following compound inequalities.

We're going to solve each inequality as follows:
The first inequality:

The second one:

And finally, put these solutions in the number line:
The solution in interval notation will be:
(-inf,2]U[10,inf)