5/(5+4)*918 = 510 girls
There are 5 girls for every 4 boys so there are 5 girls per 9 total people. If you set up the proportion 5/9 = x/918, the solution is 510.
There are other ways to do this problem, this is just one way.