solve it pls for my sat test

The ratio of males to females is 8 : 17.
60% of the people in the hall were men and women in the ratio of 1:2.
30% of the remaining people were boys, and the rest were girls.
The remaining people are 40% of the total (100% - 60%).
The number of boys is 30% of 40% of x, which is 0.12x.
The number of girls is 70% of 40% of x, which is 0.28x.
Now, let's find the total number of males (men + boys) and females (women + girls):
Males = 0.2x (men) + 0.12x (boys) = 0.32x
Females = 0.4x (women) + 0.28x (girls)
= 0.68x
The ratio of males to females is:
0.32x : 0.68x = 32 : 68
= 16 : 34
Simplifying the ratio, we get:
16 : 34 = 8 : 17