I have $4$ different mathematics textbooks and $3$ different psychology textbooks. In how many ways can I place the $7$ textbooks on a bookshelf, in a row, if all the psychology textbooks are together?
First, let's see how many ways there are to arrange the 3 psychology books.
We have 4p3 ways the arrange the books multiplied by the number of ways to put these books into the group of 7, which is 4.
We have 24*4 = 96.
Now, there are 4p4 ways to arrange the math books, which is simply 24.
96*24 = 2304.
There are 2304 ways to arrange the books!
Thanks! :)