Solving ratio problems using fractions or proportions