Coefficient of x6 in (x−2)2(1+2x)−2=(x2−4x+4)(1−4x+2−2(−2−1)×4x2+.)−62(−2−1)(−2−2)×8x3+24−2(−2−1)(−2−2)(−2−3)×16x4+−5!2(−2−1)(−2−2)(−2−3)(−2−4)×32x5+−6!2(−2−1)(−2−2)(−2−3)(−2−4)(−2−5)×64x6)So, coefficient of x6 equals to=2416×(−2)×(−3)×(−4)×(−5)5!−4×32(−2)×(−3)×(−4)×(−5)×(−6)+6!4×64×−2×(−3)×−4×−5×(−6)×−7=2640