Halliburton interview question

How did you approach this problem?