Where c is the total cost and d is the price a book
In order to find the total cost, you must multiply the price of something by the number of items you bought; therefore the equation above accurately represents the problem.
Substitute:
c = 6d
c = 6(7.89)
Multiply:
c = 6(7.89)
c = 47.34
In conclusion, Michael would spend $47.34 on 6 books.