Identifying solutions to a linear inequality in two variables