The ratio of boys to girls in a class room was 9:8. Half of the girls left the classroom, and then there were 15 more boys than girls.

A. How many children were in the classroom in the beginning?

B. How many girls left the classroom?

2 answers

9 x were boys
8 x were girls
17 x total originally

4 x girls left
so then there were
9 x boys
4 x girls
13 x total

9 x - 15 = 4 x
5 x = 15
x = 3

I guess you can do 17 x and 4 x
9:8 = 18:16 = 27:24 = 36:32 = 45:40 = 54:48

Which of those ratios fits the problem?