Gregmat foundation question

how do you solve this question?