Here David speaks of his "call for help" as if it were a person who could come into the presence of Yahweh. Alternate translation: "I prayed to him" (See: [[rc://en/ta/man/translate/figs-personification]])
Here David speaks of how Yahweh heard his cry for help. The idea is repeated for emphasis. Alternate translation: "he heard my appeal" (See: [[rc://en/ta/man/translate/figs-parallelism]])