human
A cake of 400 grams is divided into eight equal parts. Nathalie eats one-eighth of the cake, and Pierre eats double what Nathalie ate. How much did Pierre eat, in grams?
assistant
How much did Nathalie eat? ** Nathalie ate 1/8 * 400g = <<1/8*400=50>>50g of cake.
How much did Pierre eat? ** Pierre eats 2 * 50g = <<2*50=100>>100g of cake.
#### 100