ReD Associates interview question

How would you go about this problem? Describe step by step