We have the following system of equations:

To solve:
1. Clear f from equation 1
2. Sustitute in equation 2
3. Solve for p
4. Use the value calculated to find f
As following:

This way, we can conclude that she bought 2 pancakes and 4 pieces of fruit
Answer: Option B