human
If I give my brother 2 marbles I will have double his number of marbles, but my friend will have triple the number I do. The total number of marbles we have together is 63. How many marbles do I have?
assistant
Define a variable ** Let X be the number of marbles I have.
How many marbles will I have after giving my brother 2 marbles? ** If I give my brother 2 marbles, I'll have X-2 marbles left.
How many marbles will my brother have after giving him 2 marbles? ** And my brother will have (X-2)/2 marbles.
How many marbles will my friend have after giving him 2 marbles? ** And my friend will have (X-2)*3 left.
Write an equation ** So the total number of marbles is X-2 + (X-2)/2 + (X-2)*3 = 63.
Simplify ** (X-2)*9/2 = 63.
Simplify ** X-2 = 14.
Simplify ** X = <<16=16>>16 marbles.
#### 16