God = S
Answered = V
Our Prayers = DO
Step-by-step explanation:
Subject is the name of a person, place, or thing. In sentence 'God answered our prayers', God is the subject. Verb on the other hand are the action words which describes an occurrence or an action. So from the given sentence, 'answered' is a verb.
Direct object is the one where the noun phrase receives the action of a verb. To answer the direct object, we usually as the Who or What question. What did God answered? Our prayers! So here, our prayers acts as a direct object.