It is givenin the question that
Rosie has some charms ;c ; for her charm bracelet Ray gives Rosie 3new charms.
On taking 3 new charms from Ray, total number of charms Rosie have is the sum of n and 3.
And the sum is
So total number of charms Rosie have, after getting three charms from Ray is