Question 1062128
NUMBER of sweets or candy pieces


x, number of pieces 10 grams each
y, number of pieces 5 grams each


{{{system(x=(1/2)y,10x+5y=120)}}}---------Can you understand this much?  You need to before continuing.



{{{10x+5y=120}}}
{{{2x+y=24}}}
Substitute for x...
{{{2(y/2)+y=24}}}
and.
.
.
.