How did Pan get his pipe?

a. it was a gift from hermes
b. it came to him in a dream
c. the death of a maiden helped create it
d. it is fashioned from the songs of the gods