Answer
$2+2x +2x^2 +2x^3+2x^4 +2x^5$
Work Step by Step
The generating function of $2, 2, 2, 2, 2, 2$ is
$$2(1+x+x^2+x^3+x^4+x^5)$$
or
$$2+2x +2x^2 +2x^3+2x^4 +2x^5$$
Someone from the community is currently working feverishly to complete this textbook answer. Don’t worry, it shouldn’t be long.