Let she had x candy. she took 10 pieces and left over i.e. (x - 10) distributed to her children.
She had 4 children and each child received 2 pieces. Means she had 4 x 2 = 8 candy left over.
Now as per question, (x - 10) = 8
@@@ IT CAN BE DONE IN THE FOLLOWING WAY ALSO @@@
She had 4 children and equally distributed the left over to them. Means each will get ( x - 10)/4 pieces.
Now as per question,