Solving Compound Inequalities