The ratio of girls to boys in a class is 2:3, and you know there are 6 girls, how many boys are in the class?

Cross multiply and solve for x

2/3 = 6/x