Baker made 5 cakes. He sold 9 of them and bought 40 new cakes. How many more cakes did baker buy than those he sold?
1. Baker made 5 cakes.
2. He sold 9 of them.
3. He bought 40 new cakes.

We want to know how many more cakes did baker buy than those he sold. In other words, we want to know how many cakes did baker buy in total. 

We can solve this problem by finding the total number of cakes that baker had after he sold 9 and bought 40. 

We know that he started with 5 cakes, and then he sold 9. So he would have 5 - 9 = -4 cakes. But he bought 40 new cakes, so he would have -4 + 40 = 36 cakes in total. 

Therefore, baker bought 36 - 9 = 27 more cakes than those he sold.