Answer:
In 3 years.
Explanation:
For every 100 gold coins Aladdin has in his magic bag, he will get 25 extra gold coin every year.
This means that for every
gold coins Aladdin will get
extra gold coin every year.
Aladdin has 12 gold coins in his magic bag. Then after first year, he will get
extra gold coins this year. In total he will have
gold coins.
Aladdin has 15 gold coins in his magic bag. Then after second year, he will get
extra gold coins this year. In total he will have
gold coins.
Aladdin has 18 gold coins in his magic bag. Then after third year, he will get
extra gold coins this year. In total he will have
gold coins.
Hence, in three years, Aladdin will have 21 gold coins.