The correct option is B Solid and ventral nerve cord
Cockroach and earthworm are non-chordates and have a solid ventral nerve cord. It is present at the anterior side of the body. It helps in the support and attachment of muscles. So, the correct answer is option B.