Answer:
12 Pieces
Step-by-step explanation:
Number of candies in Jane's bag = x
she gives 8 to her friend;
x - 8
Then jane's grandmother buys 5 more pieces than jane had originally; add (x + 5)
x - 8 + x + 5
Now jane has 27 pieces of candy
x - 8 + x + 5 = 27
Solve for x;
x - 8 + x + 5 = 27
2x - 3 = 27
2x = 27 -3
2x = 24
x = 12