For this case, the first thing we must do is define variables.
We have then:
x: the number of books on the floor
y: The number of books on the shelf
We now write the equation that models the problem:
The number of books on the shelf is 2 more than 3 times the number of books on the floor:
Then, we evaluate the expression for x = 7.
We have then:
Answer:
The number of books on the shelf is 23.