coefficient of x^3 in (1+x +x^2 +x^3)^2(1+x+x^2)