When Compound Y is treated with aqueous sodium hydroxide, methanol and sodium ethanoate are formed. What is the structure of Y?
- A$\text{CH}_3\text{CO}_2\text{CH}_3$
- B$\text{HCO}_2\text{C}_2\text{H}_5$
- C$\text{HO}_2\text{CCH}_2\text{CHO}$
- D$\text{HOCH}_2\text{CH}_2\text{COOH}$