Salicyclic acid is treated with bromine under two different conditions.
Predict the nature of [X] and [Y] in the above reactions
Note that when some activating group, e.g, - OH is present along with COOH in ortho or para position substitution occurs with respect to -OH preferbly at para position due to storic factors. In case the reagent used is strong electrophile enters at all possible positions even with the replacement of - COOH group.