TechnipFMC Interview Question

How to solve the technical problem assigned