Correct Answer - Option 4 : EDGB
1) D and G have to be together.
2) E and D have to be together.
Implies, E, D, and G are in the same team.
3) C cannot be with E.
Implies, C is not in the same team as E, D, and G.
4) F and D cannot be together.
Implies, F is not in the same team as E, D, and G
Team 1 - E, D, and G
Team 2 - C and F
5) A and B cannot be in the same team.
Implies, either A or B is in team 1.
Possibilities for team 1: AEDG or BEDG.
6) A has to be with F.
Therefore, AEDG can be eliminated.
Hence, EDGB can be formed using the given data.