Pregunta de entrevista de OneLocal

How did you get to this answer? (Referring to the task)