Pergunta de entrevista da empresa Mathnasium

To solve a math problem and explain how I get my answer. It was about percentages