ZS Associates Interview Question

How would you solve the first module of the given case study?