" Find the number of ways of giving 10 identical gift boxes to 6 people : A, B, C, D, E, F in such a way that total number of boxes given to A and B together does not exceed 4. "
I tried it in this way :
[$x^{10}$] $(1+x^{1}+...+x^{4})^{2}*( 1+x^{2}+....)^{4}$
But I am not sure if its right or not , can anyone help me with the condition on A and B i.e say $x_1+x_2\leq 4$