In order to calculate the amount left after 3 years, we can use the following equation for exponential decay or growth:
Where P is the final amount after t years, P0 is the initial amount and i is the growth or decay rate per year.
In this case, let's use P0 = 64, i = -0.5 (it decays half of the amount in a year) and t = 3, so we have:
So there will be left 8 grams after 3 years.