David broke 2 glasses.
William broke 4 times the number of glasses David broke, so he broke 4 * 2 = 8 glasses.
In total, David and William broke 2 + 8 = 10 glasses.
#### 10
The answer is: 10
Below is a math problem. Provide a detailed, step-by-step solution.

### Problem:
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?

### Answer:
