The correct option is B Both are diploblastic.
A polyp is usually attached by a pedal disc to the substratum while medusae are generally motile. Polyps show asexual reproduction while the medusae exhibit sexual reproduction. Both are different forms of Hydrozoa and are diploblastic, meaning, there are two germ layers- the ectoderm and the endoderm.
Thus, the correct answer is option B.