option 4.
A and D will be at right end together as they need to leave soon. B in the centre of the row.C and D have to seat as far apart as possible.
If D sits at 3rd from right end , B and D can seat together
If c sits at extreme left end F at 2nd left , C and F can seat together
If G sits at 2nd from right end , G and D can seat together
But,
A and E can't be seated together. because E either be on 2nd from the left end or 3rd from the right end.