Domanda di colloquio di Trolley

Solve math problem and explain your though process while solving it.