the numbers of children we have
6 children group , 9 children group or 10 children group
for equal quantity of peanuts among these groups will be LCM of these groups
so LCM of 6 , 9 , 10 is
6 = 2 x3
9 = 3 x 3
10 = 2 x 5
so, the LCM is 2 x 3 x 3 x 5 = 90
so smallest number of the peanuts will be 90