In a certain class, the ratio of the number of girls to the number of boys is 2 to 5. If 2 more girls were to enter the class, the ratio would be 1 to 2. How many students are there in the class?
No. of girls =2a;
No. of boys = 5a;
New ratio = (2a+2):5a = 1:2;
2×(2a+2) = 5a; a = 4;
Total students = 2a+5a = 7a =28;