![\boxed{\underline{\bf \: ANSWER}}](https://img.qammunity.org/2022/formulas/german/high-school/at02zqxy8f9f40873nz40p480ht94oo2fc.png)
At first, Mandy has 3 apples. So if she gives 1 to her friend, then she'll have ⇨ 3 - 1 = 2 apples left. Now, if she decides to buy 2 more apples, then she'll have ⇨ 2 + 2 = 4 apples. So, Mandy has 4 apples.
__________________
Hope it helps.
RainbowSalt2222