Arrange the following halides in decreasing order of their reactivity towards dehydrohalogenation:
D > B > A > C
In the following reaction sequence, what are X and Y respectively?