Below is an instruction that describes a task. Write a response that appropriately completes the request in English. Please answer in English.

### Instruction:
Trent walked 4 blocks from his house to the bus stop. He rode the bus 7 blocks to the library. Later, he came home the same way. How many blocks did Trent travel in all?

### Response:
On the way to the library, Trent went 4 blocks + 7 blocks = <<4+7=11>>11 blocks.
The library is 11 blocks from Trent’s house, so he came home the same way, for a total of 11 blocks + 11 blocks = <<11+11=22>>22 blocks.
#### 22