Trolley interview question

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