Let b be the number of biology books and c be the number of chemistry books. We have two equations:
- b + c = 307
- c = b - 71
b + (b - 71) = 307
Combine like terms:
2b - 71 = 307
Using our equation solver, we get:
b = 189
Now substitute that into (2):
c = 189 - 71
c = 118