Bupa interview question

How would I problem solve