Solving equations with percentages and fractions