The answer is D. He based the stories he told on other tales and legends of ancient Greece.
Homer wrote about existing myths and legends, and in a different time from Socrates. C is something we don't really know and A is wrong since these mythologies existed before him.