Answer:
10 paperback and 5 hardcover books
Step-by-step explanation:
Please see attached picture for full solution.
Let's check:
total cost= 10(3) + 5(8)= $70 ✓
You could also try to solve the question by assuming John bought all paperback books first instead of all hardcover books. The answer should be the same.