The correct option is A Ectodermal
Earthworms are triploblastic and they have three prominent germ layers known as endoderm, mesoderm and ectoderm. The nephridia occur in pairs and performs a function similar to the vertebrate kidney. They remove metabolic wastes from an animal's body. The nephridia of the earthworm are of ectodermal origin. So, the correct answer is option A.