The book you were reading was Volume 24 on Shelf 2 of Wall 4 of Hexagon:

 

Wall:

Shelf:

a

Volume:

A bookshelf with 32 volumes. The title of each is written on its spine.