Solve proportions with an unknown