You can remember the meaning of 玛丽 with this easy mnemonic:
Mary received an agate (玛) for her birthday, and its beautiful (丽).
Using mnemonics to remember the meaning of Chinese characters like can have an enormous impact on how long to learn Mandarin it takes.