Given:
2 girls liked math, 8 boys liked math, 24 girls liked history, and 12 boys liked history.
The ratio of girls to boys is,
the ratio of boys to girl is,
From the above ratios,
For every girl who liked math, 4 boys liked maths.
For every boy who like history, 2 girls liked history.
Answer: A and B