This is a numerical-answer question. The correct answer is shown below.
[Solution by Dr. Abubacker] The first three coefficients are $1$, $-3n$ and $9\binom n2$: $1-3n+\frac{9n(n-1)}2=376\Rightarrow3n^2-5n-250=0\Rightarrow n=10$. General term $\binom{10}r(-3)^rx^{10-3r}$: $x^4$ needs $r=2$, so the coefficient is $\binom{10}2\cdot9=405$. Answer: 405.