McKinsey & Company interview question

Regarding the calculations