The width is 3 and the height is 3

Hope you could get an idea from here.
Doubt clarification - use comment section.
Answer:
60
Step-by-step explanation:
Assuming that all 54 shelves hold the same number of books its just a matter of dividing them (or sharing them equally) on each shelf.
3240 / 54 = 60
Each shelf holds 60 books.