A carbon compound X turns blue litmus to red and has a molecular formula C2H4O2. Identify X and draw its structure. Write chemical equation for the reaction and name of the product formed in each case when X reacts with
(a) ethanol in the presence of conc. H2SO4
(b) sodium carbonate