The general term in the expansion of (2−x+3x2)6 is r!s!t!6!2r(−x)s(3x2)t, where r+s+t=6 =r!s!t!6!2r×(−1)s×3t×xs+2t
where r+s+t=6
For the coefficient of x5, we must have s+2t=5
But r+s+t=6 ∴s=5−2t and r=1+t
where, 0≤r,s,t≤6
Now, t=0⇒r=1,s=5 t=1⇒r=2,s=3 t=2⇒r=3,s=1
Thus, there are three terms containing x5 and coefficient of x5 =1!5!0!6!×21×(−1)5×3+2!3!1!6!×22 ×(−1)3×31+3!1!2!6!×23×(−1)1×32 =−12−720−4320 =−5052