By "elements", do you mean carbon, hydrogen, oxygen, calcium, etc?
Given those understandings, who has claimed to understand how memory functions?
Then, in the manner of thesis, antithesis, synthesis, how the brain melds seemingly unrelated memories and forms what has not previously existed...