Teresa orders 2 fancy ham and cheese sandwiches for $7.75 each, so she spends 2 * $7.75 = $<<2*7.75=15.50>>15.50 on sandwiches.
The price of salami is $4.00, so she spends $4.00 on salami.
The price of brie is three times the price of the salami, so she spends 3 * $4.00 = $12.00 on brie.
She buys 1/4 pound of olives for $10.00 per pound, so she spends 1/4 * $10.00 = $2.50 on olives.
She buys 1/2 pound of feta cheese for $8.00 per pound, so she spends 1/2 * $8.00 = $4.00 on feta cheese.
She also buys another loaf of french bread for $2.00, so she spends $2.00 on bread.
The total amount spent by Teresa is $15.50 + $4.00 + $12.00 + $2.50 + $4.00 + $2.00 = $<<15.50+4+12+2.5+4+2=40.00>>40.00
#### 40
The answer is: 40
Below is a math problem. Provide a detailed, step-by-step solution.

### Problem:
What is the total amount spent by Teresa at the local shop if she orders 2 fancy ham and cheese sandwiches for $7.75 each, buys salami for $4.00, brie that costs three times the price of the salami, 1/4 pound of olives for $10.00 per pound, 1/2 pound of feta cheese for $8.00 per pound, and another loaf of french bread for $2.00?

### Answer:
