Original: Since Apollo had told Orestes to kill the murderer of his father, Agamemnon, and that person turned out to be his mother, Orestes prayed to him.
Simplified: The god Apollo told Orestes to kill the murderers of his father, which he did.