The baker sold cakes for 453 * 12 = $<<453*12=5436>>5436.
And pies for 126 * 7 = $<<126*7=882>>882.
In total the baker earned 5436 + 882 = $<<5436+882=6318>>6318.
#### 6318