The total number of students is 54, with an initial ratio of boys to girls of 5:4.
The ratio 5:4 means there are 5 parts boys and 4 parts girls.
Total parts =5+4=9
Number of boys initially:
Boys=95×54
Boys=5×6
Boys=30
Number of girls initially:
Girls=94×54
Girls=4×6
Girls=24
After 3 boys leave the bus:
Boys remaining =30−3=27
Girls remaining =24
The new ratio of boys to girls:
Ratio=27:24
To simplify, divide both by their common factor 3:
27÷3=9
24÷3=8
Therefore, the new ratio of boys to girls is 9:8.