A group of seven students A, B. C, D, E, F and G are going to form two teams. Each team can have a maximum of four members. A and B cannot be in the same team. C cannot be with E. D and G have to be together. F and D cannot be together. E and D have to be together. A has to be with F. Which of the following is one of the two teams formed according to the given data?