# How to solve this permutation math problem?

In how many ways can 4 girls and 2 boys sit at a movie theater row with 6 seats if a girl must be seated at each end.

-

If a girl must be at either end, then the only seat options for the boys are the middle 4 seats. The number of ways of assigning two of the middle 4 seats to the 2 boys is $${}_4P_2=4\times 3=12.$$

Now we have to choose where the girls sit. The number of ways of assigning the remaining 4 seats to the 4 girls is $${}_4P_4=4\times 3\times 2\times 1= 24.$$

Finally, multiply these results to get $12\times 24=288$ different seating arrangements where girls are on either end.

-