Baker Hughes interview question

Math and logic test