by permutation there are 4320 ways.
We have P(3,2) = 6 ways to arrange the math books by permutation
6! ways of arranging the 1 math book
5 history books in the middle....
so...6 x 6! = 6 x 720 = 4320 ways
learn more about permutation here:
https://brainly.com/question/10525991
#SPJ9