Sabrina is collecting herbs to make a poultice for her grandmother. She needs twice as many basil leaves as sage leaves and 5 fewer sage leaves than verbena leaves. If she needs 12 basil leaves, how many leaves total does she need?
First find the number of sage leaves Sabrina needs: 12 basil / 2 basil/sage = 
<gadget id="calculator">12/2</gadget>
<output>6</output>
6 sage.
Then add 5 to find the total number of verbena leaves she needs: 6 sage + 5 = 
<gadget id="calculator">6+5</gadget>
<output>11</output>
11 verbena.
Finally, add up all the different leaves to find the total number: 6 sage + 11 verbena + 12 basil = 
<gadget id="calculator">6+11+12</gadget>
<output>29</output>
29 leaves.

<result>29</result>