human
Viggo spent $80 on a shirt. He paid the shirt using $20 and $10 bills. If she gave the clerk one more $20 bill than $10 bills, how many $10 bills did he give?
assistant
Define a variable ** Let x be the number of $10 bills.
How many $20 bills are there? ** So, there are (x + 1) $20 bills.
Write an equation ** Adding the $10 and $20 bills should sum up to $80 so the equation is 10x + 20(x + 1) = 80.
Combine like terms ** Then, distribute 20 to x + 1 so it becomes 10x + 20x + 20 = 80.
Combine like terms ** Combining the like terms on the left side gives 30x + 20 = 80.
Subtract 20 ** Then transfer 20 to the right side of the equation, so it becomes 30x = 60.
Divide by 3 ** To solve for x, we have 60/30 = <<60/30=2>>2.
How many $10 bills are there? ** Therefore, there are 2 $10 bills.
#### 2