The best way to rewrite the sentence would be B
Answer:
the answer is C) or choice #3
The sentence "Mary went to the store" contains a prepositional phrase and that is "to the store". The correct option among all the options that are given in the question is the third option or option "c". The other sentences in the question are infinite in nature and so they can be neglected. The third option is a proper sentence.
A. Hope this helps ! bye.
I'm like 90% sure it is d sorry if I get it wrong for you!