Solving equations with fractions and decimals