If I interpret it to mean that the first book chosen goes into the first slot then you have:
slot 1: 4 ways (from 4 stat books)
slot 2: 3 ways (3 remaining stat books)
slot 3: 2 ways (2 remaining stat books)
slot 4: 6 ways (from 6 algebra books)
slot 5: 5 ways (5 remaining algebra books)
Total = 4*3*2*6*5