Capgemini interview question

4,5,7, water jug problem