McKinsey & Company interview question

basic calculations