human
Tapanga and Corey have 66 candies together. However, Tapanga has 8 more candies than Corey. How many candies does Corey have?
assistant
Define a variable ** Let x = the total number of candies Corey has.
How many candies does Tapanga have? ** x + 8 = the total number of candies Tapanga has.
Write an equation ** The equation for the total number of candies is x + (x + 8) = 66
Combine like terms ** Combining like terms, we get 2x + 8 = 66
Subtract 8 ** Subtracting 8 from both sides, we get 2x = 58
How many candies does Corey have? ** Dividing both sides by 2, we get x = <<29=29>>29, so Corey has 29 candies.
#### 29