Solving a two-step inequality