Not able to understand logic

Not able to understand the logic of the question