Pregunta de entrevista de RBC

How would you solve this case..