There are ways to chose the girls. And ways to chose boys. In total there are says to choose them together.

But we still are not done. That is just the number of ways of creating 10 different groups.

How many ways are there to pair them given a specific 5 boy and 5 girl group? Whatever that result is multiply it to the the number above.