First of all, make sure you know how to solve basic inequalities. These types of problems are hard enough as is without being crippled by not knowing the basics. Knowing how to use the distributive law will keep your life easier too. In both types of problems, there are 2 inequalities you have to solve, giving you 2 solution sets for x. The bottom line is the final solution set for x has to contain both solution sets for x.
Examples are on the way.
Let's do some examples. You can see how knowing the distributive law comes in handy. As before, our final solution set has to contain both. Sometimes, the solution set for x is sandwiched in between 2 numbers.