This is a numerical-answer question. The correct answer is shown below.
[Solution by Dr. Abubacker] Terms $x^{i+3j}$ with $i+3j=7$: $(i,j)=(7,0)$: $\frac{10!}{7!\,0!\,3!}(-1)^7=-120$; $(4,1)$: $\frac{10!}{4!\,1!\,5!}(+1)(2)=2520$; $(1,2)$: $\frac{10!}{1!\,2!\,7!}(-1)(4)=-1440$. Sum $=960$. Answer: 960.