Teresa orders 2 fancy ham and cheese sandwiches for $7.75 each at a local shop.  While there, she decides to pick up some salami for $4.00, more brie which is three times the price of the salami,  a 1/4 pound of olives that are $10.00 per pound, 1/2 pound of feta cheese that’s $8.00 a pound and another loaf of french bread that is $2.00.  How much does she spend at the local shop?
She orders 2 sandwiches that are $7.75 so they cost 2*$7.75 = $
<gadget id="calculator">2*7.75</gadget>
<output>15.5</output>
15.50.
The brie is three times more expensive than the $4.00 salami so the brie costs 3*$4 = $
<gadget id="calculator">3*4</gadget>
<output>12</output>
12.00.
She buys 1/4 pound of the olives that costs $10.00 a pound so they cost .25*$10 =$
<gadget id="calculator">1/4*10</gadget>
<output>5/2 = around 2.5</output>
2.50.
She buys 1/2 pound of feta that costs $8.00 a pound so it costs .5*$8 = $
<gadget id="calculator">1/2*8</gadget>
<output>4</output>
4.00.
The salami is $4.00, the brie is $12.00, olives are $2.50 and the feta is $4.00 and the sandwiches are $15.50 for a total of $4+$12+$2.50+$4+$15.50 = $
<gadget id="calculator">4+12+2.5+4+15.50</gadget>
<output>38</output>
38.00.
Adding the french bread gives $38.00+$2.00 = $
<gadget id="calculator">38+2</gadget>
<output>40</output>
40.

<result>40</result>