How many different dozens of donuts can be made using at most 4 glazed, 3 chocolate, 5 jelly filled and 1 Bizmark?
Is we solve this problem by generating function
as my idea is Let $x_1$ be the glazed and $x_2$ be the chocolate , $x_3$ be the jelly $x_4$ be Bizmark
where $0 \leq x_1\leq 4$, $0 \leq x_2\leq 3$, $0 \leq x_3\leq 5$, $0 \leq x_4\leq 1$,
how can we processed further