human
Reginald is selling apples. He sells each apple for $1.25. He plans to use his profits to help repair his bike. His bike cost $80 and the repairs cost 25% of what his bike cost. After the repairs are paid for, 1/5 of the money he'd earned remains. How many apples did he sell?
assistant
How much did the repairs cost? ** The bike repairs cost $20 because 80 x .25 = <<80*.25=20>>20
How much does he earn after the repairs are paid for? ** Call the amount he earns e. We know that e - 20 = 1/5e
How much does he earn after the repairs are paid for? ** Therefore 5e - 100 = e
How much does he earn after the repairs are paid for? ** Therefore, 4e = 100
How much does he earn after the repairs are paid for? ** Therefore, e = <<25=25>>25
How many apples did he sell? ** Therefore, he sold 20 apples because 25 / 1.25 = <<25/1.25=20>>20
#### 20