Respuesta :

assuming that order in which you choose the 5 books is not important the its  12C5 - that  is the number of combinations of 5 out of 12.

this is    12! / 5! 7!   =   12*11*10*9*8
                                     ----------------  =     792 ways 
                                    5*4*3*2*1
RELAXING NOICE
Relax