Answer:
If a class has 2/3 girls.
Lets ask ourselves, what does this mean?
It means that 2/3 of the class are girls and therefore 1/3 of the class are boys. I.e. for every 2 girls in the class there is 1 boy in the class.
Therefore the ratio of girls to boys is
2 : 1