My answer to this question is 2 X 5! = 240. The book gives 1440, presumably 2 X 6!.
A concert pianist has prepared seven different pieces of music for recital, three of which are modern and four are classical. Calculate the number of different orders in which she can play the seven pieces when the recital must start and end with classical pieces.
4*(6!-3*5!) -- 4 ways to choose the first piece, then 6! permutations of the rest, but 3*5! of those don't end with classical.
4*3*5! -- 4 ways to choose first piece, 3 ways to choose last piece, 5! ways to permute the rest.
Alternatively, the central 5 contain pairs of classical pieces, along with the 3 modern pieces.
There are 5! arrangements of the central 5 and for each of these, there are 2! arrangements
of the first and last classical pieces.
There are ways to select the 1st and last classical pieces.
There are 5! arrangements of the central 5 pieces and for each of these there are 2! arrangements
of the outer 2 pieces....again