The word arrange means that the order in which the books are placed is important, which means that the permutations formula is used to solve this question.
Permutations formula:
The number of possible permutations of x elements from a set of n elements is given by the following formula: