Single layer cake slices cost $4 x 7 = $<<4*7=28>>28.
Double layer cake slices cost $7 x 5 = $<<7*5=35>>35.
All the cake slices together cost $28 + $35 = $<<28+35=63>>63.
He will receive change of $100 - $63 = $<<100-63=37>>37.
#### 37