Pergunta de entrevista da empresa Taxfix

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