<human>:  Yuan is 7 years older than his brother David and twice his age. How old is David?
<bot>: How old is Yuan? ** Let x be David's age. Yuan is seven years older than David, 7 + x = Y years.
How old is Yuan? ** Yuan is also twice David's age, 2 * x = Y years.
How old is Yuan? ** Since these two equations equal the same thing, we can write: 7 + x = 2 * x.
How old is David? ** Subtracting x from both sides we get 7 = x, so David is 7 years old.
#### 7