Nylon numbering directly tells us the carbon count of the monomer used, so checking each candidate monomer's carbon count against the name "Nylon-4" identifies the right one.
Since the monomer's carbon count must match the "4" in the polymer's name, and only 2-pyrrolidine does so, it is the correct choice.
Therefore, the correct answer is 2-pyrrolidine.