<human>:  Pete has a bag with 10 marbles. 40% are blue and the rest are red. His friend will trade him two blue marbles for every red one. If Pete keeps 1 red marble, how many total marbles does he have after trading with his friend?
<bot>: How many blue marbles does Pete start with? ** He starts with 4 blue marbles because 10 x .4 = <<10*.4=4>>4
How many red marbles are there? ** 60% of the marbles are red because 100 - 40 = <<100-40=60>>60
How many red marbles does Pete have? ** He has 6 red marbles because 10 x .6 = <<10*.6=6>>6
How many red marbles does Pete trade? ** He trades 5 red marbles because 6 - 1 = <<6-1=5>>5
How many blue marbles does Pete get? ** He gets 10 blue marbles because 5 x 2 = <<5*2=10>>10
How many marbles does Pete have after trading with his friend? ** He has 15 marbles now because 4 + 1 + 10 = <<4+1+10=15>>15
#### 15