how to solve proportions with variables