Answer:
A
Step-by-step explanation:
Passive voice: Object + helping verb + verb + preposition + subject
here we see tree as the object (receives the action), was planted is the helping verb, planted is the verb, by is the preposition, and Mary is the subject (does the action)