Reaction of phenol with NaOH followed by heating with CO2 under high pressure, and subsequent acidification gives compound X as the major product, which can be purified by steam distillation. When reacted with acetic anhydride in the presence of a trace amount of conc. H2SO4, compound X produces Y as the major product. Compound Y is
