Bupa Interview Question

How would I problem solve