Correct option is B
Let's analyze the information step by step:
step 1: Only 1 person sits to the left of D.
This means D is in the second position from the left.
Arrangement so far:_ D _ _ _ _ _
step 2: A can be either on the left or right of D. Let's consider both cases:
Case 1: A is to the left of D. Case 2: A is to the right of D.
Arrangement: A D _ _ _ _ _, Arrangement:_ D A _ _ _ _
step 3: Only 2 people sit between F and D.
Since D is fixed in the second position, the possibilities for F are:
In Case 1: F can be in the 5th position from the left.,In Case 2: F can be in the 4th position from the left.
Arrangement: A D _ _ F _ _, Arrangement:_ D A _ F _ _
step 4: Only 3 people sit between C and G.
Arrangement: A, D, C/G, _, F, _, G/C
Arrangement: C/G, D, A, _, F, _, _ (not possible)
step 5: Only 2 people sit between E and A.
In Case 1: A, D, C/G, E, F, _, G/C
step 6: B is not an immediate neighbor of G.
In Case 1: A, D, G, E, F, B, C
finally only case 1 can provide final Arrangement. E is immediate right of G.