Solving for missing values in a ratio