solving proportions 10/8=n/10