She started with 32 pieces.
Explanation: If she had 5 children and each child received 5 pieces, you can determine that she gave her children a total of 25 pieces because 5 x 5 = 25. If she took 7 pieces for herself before giving the rest away, you can determine that she had 32 pieces of candy to start with because 25 + 7 = 32.