Solving linear inequalities with fractions