Option (D) is correct.
Explanation: The base has three parts, so first turn it into a binomial:
x+2+x1=xx2+2x+1=x(x+1)2
Hence
(x+2+x1)4=x4(x+1)8
Dividing by x4 lowers every power by 4, so the x2 term comes from the x6 term of (x+1)8. Using the row 1,8,28,56,70,56,28,8,1 for index 8:
(x+1)8=x8+8x7+28x6+56x5+70x4+56x3+28x2+8x+1
The coefficient of x6 is 28, so the coefficient of x2 in the given expansion is 28.
Why the other options are wrong
- (A) 4 drops the 2 and expands (x+x1)4=x4+4x2+6+x24+x41. The 2 in the base cannot be ignored.
- (B) 56 is the coefficient of x5 (or of x3) in (x+1)8. After dividing by x4 these give x and x1, not x2: the wrong place in the row.
- (C) 112=28×22 multiplies again by 22 for the middle 2. That 2 is already inside (x+1)2=x2+2x+1, so it must not be counted a second time.