Pergunta de entrevista da empresa ReD Associates

How would you go about this problem? Describe step by step