There are six oranges in a fruit basket. There are two fewer apples than oranges.  There are 3 times as many bananas as apples, and there are half as many peaches as bananas.  How many pieces of fruit are in the fruit basket?
There are 6 - 2 = 
<gadget id="calculator">6-2</gadget>
<output>4</output>
4 apples.
There are 3 * 4 = 
<gadget id="calculator">3*4</gadget>
<output>12</output>
12 bananas.
There is 1/2 x 12 bananas = 
<gadget id="calculator">1/2*12</gadget>
<output>6</output>
6 peaches.
There is 6 oranges + 4 apples + 12 bananas + 6 peaches = 
<gadget id="calculator">6+4+12+6</gadget>
<output>28</output>
28 pieces of fruit.

<result>28</result>