The correct option is D ectoderm, endoderm and mesoglea
Diploblastic animals have outer ectoderm and inner endoderm. They do not have mesoderm instead they have middle mesoglea which is an undifferentiated layer. Mesoglea is present only in diploblastic animals.
Triploblastic animals have cells arranged in three layers ectoderm, endoderm and mesoderm.