Answer :
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,
[tex]\begin{gathered} \text{for maths } \\ \frac{2}{8}=\frac{1}{4} \\ \text{for history,} \\ \frac{24}{12}=\frac{2}{1} \end{gathered}[/tex]the ratio of boys to girl is,
[tex]\begin{gathered} \text{For maths,} \\ \frac{8}{2}=\frac{4}{1} \\ \text{For history,} \\ \frac{12}{24}=\frac{1}{2} \end{gathered}[/tex]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