I don't agree with the answers given.
For (1) we can treat each candy individually and multiply the results.
Using stars and bars we can distribute 8 candies among 4 children as
\(N_L = \dbinom{8+4-1}{4-1} = \dbinom{11}{3} = 165\\ N_W=\dbinom{7+4-1}{4-1}=\dbinom{10}{3} = 120\\ N = N_L \cdot N_W = 19800\)
For (2) we have to find the sum of the cases for the amount the twins get
\(N_0 = \dbinom{6+3-1}{3-1} = \dbinom{8}{2} = 28\\ N_1 = \dbinom{4+3-1}{3-1} = \dbinom{6}{2} = 15\\ N_2 = \dbinom{2+3-1}{3-1} = \dbinom{4}{2} = 6\\ N_3 = 1\\ 1 + 6 + 15 + 28 = 50\)
.