Constraint solutions of two-variable inequalities