Johnson & Johnson interview question

how do you solve this?