Answer:
Mary has 120 sweets and 30 friend.
Explanation:
if x = 6 and y = 4
then
20xy - 10x² = 20×(6)×(4)-10×(6^2) = 120
Therefore,
Mary has 120 sweets
……………………………………
if x = 6 and y = 4
then
5x = 5 × (6) = 30
…………………………
120 ÷ 30 = 4
Then 4 sweets per friend.