Solving for a variable in a proportion