The correct option is A A, B, O, P, Q, G, H
The Delhiites are A, B, C, D and E; software programmers from Maharashtra are O, P and Q; Tamilians are G, H, K and L. The three software programmers from Maharashtra to be selected are O, P and Q. Now, wherever there is a manager from Delhi, there will be no software programmer from Maharashtra. So, C, D and E cannot be selected. Thus, the two Delhiites selected will be A and B.
Since software programmers from Delhi are selected, so Tamilian manager K and L cannot be selected. Hence, the team formed is A, B, O, P, Q, G, H.