ZS Associates Interview Question

How did one arrive at their answer in the case study questions.