Doubt from Dehydration of compounds

D option is correct