This question tests use of the indefinite articles "a" and "an". The choice between "a" and "an" depends on the sound at the start of the next word, not on its spelling.
The letter "M" is spelled with a consonant but said with a vowel sound, so words like "MP3", "MBA", and "SMS" all take "an". The second blank needs the general article "a" since the gift being talked about is not identified elsewhere in the sentence.
Let's summarize:
So the correct pair of articles is "an" and "a", which makes option (d) the right answer.