Question d’entretien chez Taxfix

Can you complete this function that should return this value based on the input params_