In order to find how many of each books we bought, let's use the variable x to represent the number of clearance mystery books and the variable y to represent the number of science fiction books.
Using these variables and the cost of each book, we can write the following equation:
Since we have an equation with two variables, we can have multiple solutions for the equation.
The natural solutions are:
So with $77 we can buy:
- 7 clearance mystery books and 7 science fiction books,
- 15 clearance mystery books and 4 science fiction books,
- 23 clearance mystery books and 1 science fiction book,