Passage
Treatment of benzene with CO/HCl in the presence of anhydrous AlCl/CuCl followed by reaction with AcO/NaOAc gives compound X as the major product. Compound X upon reaction with Br/NaCO, followed by heating at 473 K with moist KOH furnishes Y as the major product. Reaction of X with H/Pd-C, followed by HPO treatment gives Z as the major product.
The compound Z is