One first chooses an unlucky child (n ways) and then distributes n toys between the rest n - 1 children. The latter number is (see Wikipedia). Indeed, to distribute n toys between n - 1 children so that every child gets at least one toy means to select a child that gets two toys (n - 1 ways) and then give the rest of the children one toy.