An organic compound (X) with molecular formula C7H8O is insoluble in aqueous NaHCO3 but dissolves in NaOH. When treated with bromine water (X) rapidly gives (Y)