Answer: Our required equation would be

and each kid would get 13 pieces of candy.
Explanation:
Since we have given that
Number of pieces of candy left over from halloween = 104
Number of kids in which she would like to distribute = 8
As every student get pieces of candy evenly.
So, Number of pieces of candy each kid would get is given by

Hence, our required equation would be

and each kid would get 13 pieces of candy.