This is the theory of combination. The number of books in the shelf are: math books=7 literature books=3 the number of ways they can be rearranged is given by the combination of the respective books on the shelf which is: 7C3 =210 thus we conclude that there are 210 ways in which the books can be enjoyed.