Which statement correctly gives the functional groups in ethanediol and in hexanedioic acid?
Ethanediol has one -OH\text{-OH}-OH group and hexanedioic acid has two -COOH\text{-COOH}-COOH groups
Ethanediol has two -COOH\text{-COOH}-COOH groups and hexanedioic acid has two -OH\text{-OH}-OH groups
Ethanediol has two -OH\text{-OH}-OH groups and hexanedioic acid has one -COOH\text{-COOH}-COOH group
Ethanediol has two -OH\text{-OH}-OH groups and hexanedioic acid has two -COOH\text{-COOH}-COOH groups