Part 1: Finding number of ways in which 5 girls can sit in 5 places.
___G___G___G___G____G____
Number of ways girls can sit = 5P5
= 5!(5−5)!
= 5!0!
=5!
=5×4×3×2×1
=120
Step 2: Finding numbers of ways in which 3 boys can sit in 6 places.
Required number of ways 6P3
= 6!(6−3)!
= 6!3!
= (6×5×4×3×2×1)3×2×1
=120
Step 3 : Finding total number of ways.
∴ Total number of required ways
=120×120
=14400