Question 405121
There are {{{1*2*3*4*5*6*7*8 = 40320}}} possible ways to
arrange {{{8}}} math books
There are {{{1*2*3 = 6}}} ways to arrange {{{3}}} chem books
{{{40320 + 6 = 40326}}}
Also, the math books could be on the left, chem on the right
or the opposite way, so the answer is {{{2*40326 = 80652}}}