Let us assume the number of boys in school be B.
Then number of girls in school = 2B
According to question,
B + 2B = 180
3B = 180
B = 180/3 = 60
Number of boys = 60
Number of girls = 120
Rupesh (a boy) ranked 34th from top and 18 girls are ahead of Rupesh.
Number of boys after the rank of Rupesh = 60 – 16 = 44