ExxonMobil interview question

Challenges i met, how to solve.