Below is an instruction that describes a task. Write a response that appropriately completes the request in Swahili. Please answer in Swahili.

### Instruction:
Donna made a cake to take to a party where the guests ate half the cake. The day after the party, she shared half the leftovers with her brothers. The following day, she ate one piece as a midnight snack. Twice as many pieces as her snack were left. How many pieces was the cake to begin with?

### Response:
 Donna alikuwa na vipande 2 * 1 = <<2*1=2>>2 vya keki vilivyosalia.
Kabla ya chakula chake cha usiku, kulikuwa na vipande 2 + 1 = <<2+1=3>>3 vilivyosalia.
Vipande hivyo 3 vilikuwa nusu ya mabaki, hivyo alikuwa na vipande 3 * 2 = <<3*2=6>>6 kabla ya kugawana na ndugu zake.
Vipande hivyo 6 vilikuwa nusu ya mabaki ya sherehe, hivyo keki ilikuwa na vipande 2 * 6 = <<6*2=12>>12 kabla ya sherehe.