We have the following system of equations:
[tex]\begin{cases}f+p=6 \\ f+2p=8\end{cases}[/tex]
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:
[tex]\begin{gathered} \begin{cases}f+p=6 \\ f+2p=8\end{cases} \\ \rightarrow f+p=6\rightarrow f=6-p \\ \\ f+2p=8 \\ \Rightarrow(6-p)+2p=8 \\ \rightarrow6-p+2p=8 \\ \rightarrow p=2 \\ \\ f=6-p \\ \Rightarrow f=6-2 \\ \rightarrow f=4 \end{gathered}[/tex]
This way, we can conclude that she bought 2 pancakes and 4 pieces of fruit
Answer: Option B