Solving equations with fractions and proportions