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?
Megan gives Emily 6*2=
<gadget id="calculator">6*2</gadget>
<output>12</output>
12 marbles.
Emily then has 6+12=
<gadget id="calculator">6+12</gadget>
<output>18</output>
18 marbles.
Emily gives Megan 18/2+1=
<gadget id="calculator">18/2+1</gadget>
<output>10</output>
10 marbles.
Emily has 18-10=
<gadget id="calculator">18-10</gadget>
<output>8</output>
8 marbles now.

<result>8</result>