Pergunta de entrevista da empresa C2 Education

imagine you are a student, how would you solve this problem