Write the Structures of Monomers Used the Following Polymers: Nylon-6, 6 - Chemistry

Question

Write the structures of monomers used the following polymers:
Nylon - 6, 6

Solution

Nylon-6, 6: Hexamethylenediamine → $\ce{H2N-CH2-CH2-CH2-CH2-CH2-CH2-NH2}$

$\begin{array}{cc}\\ \ce{O} \phantom{..........................}\ce{O} \\ || \phantom{..........................}||\\ \ce{HO-C-CH2-CH2-CH2-CH2-C-OH} \end{array}$

Is there an error in this question or solution?