It rained twice as much on Tuesday as Monday.  On Monday it rained 3 inches more than Sunday.  It rained 4 inches on Sunday.  How much total rainfall was there over the 3 days?
It rained 3+4=
<gadget id="calculator">3+4</gadget>
<output>7</output>
7 inches on Monday.
So it rained 7*2=
<gadget id="calculator">7*2</gadget>
<output>14</output>
14 inches on Tuesday.
That means the total rainfall was 7+14+4=
<gadget id="calculator">7+14+4</gadget>
<output>25</output>
25 inches.

<result>25</result>