The subtotal before tax and coupons is
... (2.99/lb × 1/2 lb) + (4.29/lb × 2 lb) + (2 loaves × 2.49/loaf) + (3 bags × 3.00/(2 bags)) + (2 salsa × 3.39/salsa) = 1.50 +8.58 +4.98 +4.50 +6.78
... = 26.34
This total is more than 25.00, but less than 30.00, so you get 3.00 off. The amount before tax is
... 26.34 - 3.00 = 23.34
4% tax is 0.04 × 23.34 = 0.93
so the total purchase comes to
... $23.34 + 0.93 = $24.27