Pergunta de entrevista da empresa Mathnasium

Explain your thought process behind answering this math question.