Please help me out, hopefully it’s clear, very urgent. Thanks

Solution:
We know that:
[tex]\frac{\tex\text{Diamonds}}{\text{Emeralds}} = \frac{3}{4}[/tex]
[tex]\text{Emeralds} = 16[/tex]
Substitute the amount of emeralds in the ratio to find the amount of diamonds.
[tex]\dfrac{\tex\text{Diamonds}}{16} = \dfrac{3}{4}[/tex]
[tex]\tex\text{Diamonds} = \dfrac{3 \times 16}{4}[/tex]
[tex]\tex\text{Diamonds} = \dfrac{48}{4} = 12[/tex]
Thus, there were 12 diamonds.
(a)
girls to boys → 2 : 1
2 → 24
1 → 12
There are total 12 boys.
(b)
diamonds to emeralds → 3 : 4
4 → 16
1 → 4
3 → 12
There are 12 diamonds.