Pregunta de entrevista de Hachette UK

Can you explain your thought process behind this task