solve rational equations with fractions