I have to find the generating function of the number of non-negative integer solutions to the equation $$ x_1 + x_2 + x_3 + x_4 +x_5 = n$$ given the constraints that $x_2$ is even and $x_3$ is odd.
Context: I am an undergrad student just beginning to work with generating functions