Answer:
Explanation:
Given that,
We have 3 boys and 6 girls
They are sitted in a row of 9 chairs.
Give that that three girls are position in the the first two seat and last seat
Then the arrangement of the girls in the first two rows and last seat
6P3= 6!/(6-3)!
6P3=6!/3!3!
6P3=6×5×4×3!/3!
6P3=120ways
This is the arrangement of the girls in the first two seats and last seat
Now, there are six seat space, where 3boys and 3girls can seat.
i.e we want to arrange
BBBGGG in the remaining six spaces
The arrangement become
6!/3!3!
6×5×4×3!/(3!×3×2×1)
=20ways
But their are other 3 girls that can still be arrange in that postion, so the total postion is
3×20ways=60ways
Total arrangement becomes
120+60=180ways