Baker sold 8 cakes. If he had made 40 cakes initially how many more cakes did baker make than those he sold?
First, we need to figure out how many cakes the baker sold. We know that the baker sold 8 cakes. 

Next, we need to figure out how many cakes the baker made in total. We know that the baker made 40 cakes in total. 

Finally, we need to figure out how many more cakes the baker made than those he sold. We can do this by subtracting the number of cakes sold from the number of cakes made. 

In other words, the answer is 40 - 8 = 32.