Since there are 37 students, and each student needs two books, that's 74 books in total.
students = 37
total_books_needed = 37*2
total_books = 76
remainder = total_books%total_books_needed
The remainder will be two because 76 - 74 = 2. Two books are left over.