Solve missing values in ratio problems using a table