Solving problems involving ratios and proportions