It is such because in order to purchase gift for your friend you have to pay rs 400 but in order to purchase that gift you were supposed to give an additional interest of rs 20 so the marginal opportunity cost is rs. 420. As we know that marginal opportunity cost is the amount of other comodity forgiven in order to produce one more unit of other commodity. Hope this will help you☺