Here A, B, X & Y are
X = CH3COC2H5, Y = CH3COOH, A = C2H5OH, B = CH3COOK
X = CH3COC2H5, Y = C2H5OH, A = CH3COOH, B = CH3COOK
X = CH3COCH3, Y = CH3COOH, A = CH3COOK, B = C2H5OH
X = CH3COOC2H5, Y = CH3COOH, A = CH3COOK, B = C2H5OH
First reaction saponification of ester & Last reaction is neutralisation