Okay, here we have this:
Considering the provided information we obtain the following combination:
[tex]\begin{gathered} n=P_6=6! \\ =1\cdot2\cdot3\cdot4\cdot5\cdot6 \\ =720 \end{gathered}[/tex]Finally we obtain that the number of ways how you can arrange the books are 720 ways.