Without discussing cannabinoids...
The reagents for converting C --> D are given.
What reaction has occurred? (Ignore stereochemistry)
What chemical transformation is desired to make compound B? (Ignore stereochemistry)
What reagent can we use to perform that transformation?
Can't help you with the identities of the compounds B, C, and D.