It might be easier to work from this picture of the top of the cake with all possible cuts marked:
You will find two copies of the cake top marked like this onĀ this sheet.
What do all the numbers $0$ to $9$ add to? So what will the numbers on each of the three pieces add to?