Answer:
3,600
Step-by-step explanation:
There are 5 green, 1 red, and 1 blue book on the shelf, 7 books in total.
First, count the number of ways when the red and the blue books are not separated. If these books are not separated, you can count them as one book, so there are 6 books in total which can be arranged in
[tex]6!=1\cdot 2\cdot 3\cdot 4\cdot 5\cdot 6=720[/tex]
different ways.
But red and blue books can be rearranged in two ways: blue, red or red, blue, so the number of ways books can be arranged if the red and blue book are not separated is
[tex]2\cdot 720=1,440.[/tex]
Hence, the number of ways books can be arranged if the red and blue book are separated is
[tex]7!-1,440=720\cdot 7-1,440=720(7-2)=720\cdot 5=3,600[/tex]