Question 1204185
Edi bought some sweets.<pre> 
Edi bought x sweets</pre>
On Thursday, he gave some sweets to his friends. The number of sweets given on
Thursday was 3/5 the number of sweets left.<pre> 
He gave away y sweets, so he had x-y sweets left. So y = 3/5(x-y)
                                                    5y = 3(x-y)
                                                    5y = 3x-3y
                                                    8y = 3x
                                                     y = 3/8x

So since he gave away 3/8x sweets he had therefore had 5/8x left.</pre> 
On Friday, he gave 130 sweets from the sweets left on Thursday to his neighbours.<pre> 
So after Friday he had 5/8x - 130 sweets</pre>
The total number of sweets given over the 2 days<pre> 
which was 3/8x + 130</pre> 
was 4 more than 9/16 of the number of sweets Edi had at first.<pre>
3/8x + 130 = 9/16x + 4
       126 = 9/16x - 3/8x
       126 = 9/16x - 6/16x
       126 = 3/16x
      2016 = 3x 
       672 = x</pre>  
(a) How many sweets did Edi buy?<pre>
Edi bought 672 sweets.</pre>
(b) How many sweets were left after the two days?<pre>
672 - (3/8x + 130) =
672 - 3/8x - 130 =
542 - 3/8(672) =
542 - 252 =
290
He had 290 sweets left over after the two days.

Let's check it in the words:

</pre>Edi bought some sweets.<pre> 
He bought 672 sweets</pre>
On Thursday, he gave some sweets to his friends.<pre> 
That was y = 3/8x or 3/8 of 672 or 252</pre>
The number of sweets given on Thursday was 3/5 the number of sweets left.<pre>
So he had 672-252 = 420 left and indeed the number given was 3/5 of 420 or 252.</pre> 
On Friday, he gave 130 sweets from the sweets left on Thursday to his neighbours.<pre> 
So after Friday, he had 420-130=290</pre>
The total number of sweets given over the 2 days was 4 more than 9/16 of the number of sweets Edi had at first.<pre> 
The number given over the 2 days was 252+130=382
9/16 of 672 = 378.  And, indeed, 382 is 4 more than 378. 

Edwin</pre>