Pergunta de entrevista da empresa PESTECH

Degree question and some math problem