compound inequalities word problems