October Lunchtime 2017

Unable to get the logic behind this question … problem

Can somebody tell the logic behind this problem it was asked in October Lunchtime 2017 . Thanks in advance :slight_smile: