Take A=x2 and B=−2x−1. The general term is
(k9)(x2)9−k(−2x−1)k=(k9)(−2)kx18−2k−k=(k9)(−2)kx18−3k
The term is constant when 18−3k=0, so k=6.
Row 9 is 1, 9, 36, 84, 126, 126, 84, 36, 9, 1, giving (69)=84, and (−2)6=64 is positive because the exponent is even.
84×64=5376