A peacock is sitting on top of a pillar, which is 9m high from a point 27m away from the bottom of the pillar. A snake is coming towards its hole at the base of the pillar. What is the distance between the peacock and the snake?

a. 18m
b. 15m
c. 12m
d. 9m