Nylon-2-nylon-6 is an alternating polyamide copolymer of glycine (containing two carbon atoms) and e-amino-caproic acid (containing six carbon atoms).
$ \underset{Glycine}{\mathop{n{{H}_{2}}N-C{{H}_{2}}-COOH}}\,+\underset{\in -aminocaproic\text{ }acid}{\mathop{n{{H}_{2}}N-{{(C{{H}_{2}})}_{5}}-COOH}}\, $ $ {{\left[ \underset{nylon-2-nylon-6}{\mathop{-NH-C{{H}_{2}}-\underset{\begin{smallmatrix} |\,\,| \\ O \end{smallmatrix}}{\mathop{C}}\,-NH-{{(C{{H}_{2}})}_{5}}-\underset{\begin{smallmatrix} |\,\,| \\ O \end{smallmatrix}}{\mathop{C}}\,-}}\, \right]}_{n}} $ $ +(2n-1){{H}_{2}}O $