Hi nakul17,
Ratio questions that have numerical answers often provide a Number Property shortcut that you can take advantage of.
Here, we're told that the ratio of boys to girls in Class A is 3:4...and some other ratio data (which we'll get to in a moment). We're asked for the number of girls in Class A. Since we have a ratio of 3:4, then the number of boys in Class A MUST be a multiple of 3 and the number of girls MUST be a multiple of 4. You can immediately eliminate B, C and D because they're not multiples of 4.
Now, we just have to "check" answer A and E against the rest of the question; whichever answer matches all of the facts is the answer:
The ratio of boys to girls in Class B is 4:5, so the number of boys MUST be a multiple of 4 and the number of girls MUST be a multiple of 5. We're also told that Class A has 1 more boy and 2 more girls than class B.
Answer A
Room A
Boys = 6
Girls = 8
Room B
Since Room A has 1 more boy....
Boys = 5
BUT the number of boys MUST be a multiple of 4. This DOES NOT MATCH the info, so answer A is incorrect.
Answer E
Room A
Boys = 9
Girls = 12
Room B
Since room A has 1 more boy and 2 more girls....
Boys = 8
Girls = 10
This MATCHES the ratio of 4:5
Total for both rooms:
Boys: 17
Girls: 22
This MATCHES the total ratio of 17:22
Final Answer:E
GMAT assassins aren't born, they're made,
Rich