With A=1 and B=2x, every power of A is 1, so the general term is (k10)(2x)k=(k10)2kxk and the power of x is simply k. So x4 needs k=4.
Row 10 is 1, 10, 45, 120, 210, 252, 210, 120, 45, 10, 1, giving (410)=210, and the 2 is raised to the fourth power along with the x.
(410)24=210×16=3360
Stopping at 210 forgets the 24.