see figure For above chemical reactions, identify the correct statement from the following:

- (1)
Both compound 'A' and compound 'B' are dicarboxylic acids
- (2)
Both compound 'A' and compound 'B' are diols
- (3)
Compound 'A' is diol and compound 'B' is dicarboxylic acid
- (4)
Compound 'A' is dicarboxylic acid and compound 'B' is diol
Show answer
Option (4) is correct.
Key from source paper