Here is my try at this Q:
There are 8 positions where the two girls can stand side by side and you can reverse their order to have 16 possibilities of positioning 2 girls next to each other....
Now haow many ways can you choose 2 girls from the 5 on the team? 5 c 2 = 10 ways
10 x 16 = 160 ways of girl placement
there are 7 other positions to fill....how many ways can you fill them ?
7 x 6 x 5 x 4 x 3 x 2 x1 = 7! = 5040
5040 x 160 = 806400 possibilities