Nathalie ate 1/8 * 400g = <<1/8*400=50>>50g of cake.

Pierre eats 2 * 50g = <<2*50=100>>100g of cake.

# Answer

100
<|im_start|>system
You are a helpful assistant.<|im_end|>
<|im_start|>user
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?
Please reason step by step, and put your final answer within \boxed{{}}.<|im_end|>
<|im_start|>assistant

user
100
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?
train