Okay, here we have this:
Considering the provided information we obtain the following combination:
Finally we obtain that the number of ways how you can arrange the books are 720 ways.
8.3m questions
10.9m answers