Combinatorics question with unequality and different subscript 
a-) $x_1+x_2+...+x_7 \leq 30$ where $x_i's$ are even non-negative integers.
b-) $x_1+x_2+...+x_7 \leq 30$ where $x_i's$ are odd non-negative integers.
c-) $x_1+x_2+...+x_6 \leq 30$ where $x_i's$ are odd non-negative integers.

These questions is from my textbook. I know to solve similar questions such that $x_1+x_2+...+x_k \leq n$ where $x_i's$ are  non-negative integers. We add an extra term on the lefthandside and the rest found by combination with repetition such that $ \binom{n+(k+1)-1}{n}$.However , what happens when they are even or odd , is there any special technique ? Moreover , as you see the part a and b differ from only subscripts , i think that there must be a reason behind different subscript in same question.Is there any reason ? Thanks in advance..

For $(a)$, you should solve for $y_1+y_2+...+y_7 \leq 15, ~ $ where $x_i = 2y_i, y_ \geq 0$
For $(b)$, you should solve for $y_1+y_2+...+y_7 \leq 11$ where $x_i = 2y_i + 1, y_i \geq 0$
For $(c)$, you should solve for $y_1+y_2+...+y_6 \leq 12$ where $x_i = 2y_i + 1, y_i \geq 0$
The difference between $(b)$ and $(c)$ is that in $(b)$, there are $7$ odd numbers and $7$ odd numbers cannot sum to an even number so equality $( = 30)$ is not possible and you would have sum $\leq 29$. But in $(c)$, you have $6$ odd numbers so equality can be reached.
