Solving a Word Problem Using Inequalities