Inside the apply_taxes() function, first calculate the value added tax vat, then the duties, and return the price plus vat and duties.
Make sure to pick vat = 0.15 * price followed by duties = 0.20 * price and then return, price + vat + duties.