Final answer:
To find the initial number of books on each shelf, set up and solve equations based on the given conditions.
Explanation:
To solve this problem, let's set up equations:
- Let x be the original number of books on the second shelf. Therefore, the number of books on the first shelf was 5x.
- After the changes, you get two equations:
- 5x - 40 = x + 24
- 5x = x + 64
- Solving these equations, you find x = 16. So, initially, there were 16 books on the second shelf and 80 books on the first shelf.
Learn more about Word Problem Solving here:
https://brainly.com/question/14065499