I am having problems analyzing the number of solutions to the equation of the form
$$x_1 + x_2 +x_3 +x_4 + x_5 +x_6 < 10$$
also if you can generalize the result and post some relevant links from where I can study i will be grateful. Thanks in advance.