You think of screaming "EEE!" when walking past a cemetery in order to remember that cemetery is spelled with three e's. This is an example of a D. spelling mnemonic.
Mnemonic is a technique which helps you remember things more easily. And since you want to learn how the word cemetery is spelled, D should be correct.