Gallagher interview question

How would you go around the problem on (system)