To find out how much area Annie has to plant herbs, we first need to calculate the total area of her square garden bed.
The area \( A \) of a square is calculated using the formula:
\[ A = \text{side}^2 \]
Given that the side length of the garden bed is 2.8 meters, we can compute the total area:
\[ A = 2.8^2 = 7.84 \text{ square meters} \]
Next, Annie plans to use one-quarter of the bed for tomatoes. Therefore, the area allocated for tomatoes is:
\[ \text{Area for tomatoes} = \frac{1}{4} \times 7.84 = 1.96 \text{ square meters} \]
The area left for herbs will be the total area minus the area used for tomatoes:
\[ \text{Area for herbs} = 7.84 - 1.96 = 5.88 \text{ square meters} \]
Thus, the area that Annie has to plant herbs is:
D. 5.88 square meters