Suppose there are $m$ boxes, out of which $a$ boxes contain $x$ balls each and the remaining $b$ boxes contain $y$ balls each. In how many ways can at least $u$ balls be selected from the boxes?
$m=a+b$. Suppose $a=2,x=2,b=1,y=1,u=3$, then there are 9 ways:
$$(0 2 1) ,(2 1 0),(2 2 1),(2 2 0),(2 1 1),(1 2 1),(1 1 1),(1 2 0),(2 0 1)$$
How to approach this kind of problem where this is no restriction?
All the boxes are distinguishable and balls are not.