Pergunta de entrevista da empresa Iliade Consulting

I had a test with an equation to solve