1, choose one color for the math book, and only the remaining colors for the Chinese book.
2. Choose one color for Chinese books, and only the remaining colors for math books.
This is also a mathematical calculation method of permutation and combination.