human
Emily has 6 marbles. Megan gives Emily double the number she has. Emily then gives Megan back half of her new total plus 1. How many marbles does Emily have now?
assistant
How many marbles does Megan give Emily? ** Megan gives Emily 6*2=<<6*2=12>>12 marbles.
How many marbles does Emily have then? ** Emily then has 6+12=<<6+12=18>>18 marbles.
How many marbles does Emily give Megan? ** Emily gives Megan 18/2+1=<<18/2+1=10>>10 marbles.
How many marbles does Emily have now? ** Emily has 18-10=<<18-10=8>>8 marbles now.
#### 8