Baker's friend bought w cakes from him. If he had made x cakes initially How many cakes would baker still have?
The baker's friend bought w = 137 cakes from him. 

The baker had x = 169 cakes initially. 

The baker still has x - w = 169 - 137 = 32 cakes.