The words "the words" are a metonym for what the woman said. AT: "heard the woman tell what she and the other woman had done" (See: [[rc://en/ta/man/translate/figs-metonymy]])
By wearing sackcloth even for his undergarments, the king showed that he was very sad and upset. AT: "he had sackcloth underneath his outer garment, against his skin" or "he was wearing sackcloth underneath his robe because he was very upset" (See: [[rc://en/ta/man/translate/translate-symaction]])