deleted.
Box 1 Box 2
5 0
4 1
3 2
2 3
1 4
0 5
This can be verified by the formula
C ( k + n - 1 , n - 1) where k is the number of balls and n is the number of boxes
So
C ( 5 + 2 - 1, 2 - 1) = C ( 6 , 1) = 6 ways
thanks!