William broke 4 * 2 = <<4*2=8>>8 glasses.

So, David and William broke 8 + 2 = <<8+2=10>>10 glasses.

# Answer

10
<|im_start|>system
You are a helpful assistant.<|im_end|>
<|im_start|>user
Yesterday, David and William were invited to a party. David broke 2 glasses, while his friend William broke 4 times the number of glasses David broke. How many glasses were broken?
Please reason step by step, and put your final answer within \boxed{{}}.<|im_end|>
<|im_start|>assistant

user
10
Yesterday, David and William were invited to a party. David broke 2 glasses, while his friend William broke 4 times the number of glasses David broke. How many glasses were broken?
train