Write and solve inequalities