The spinning and knitting the devil agrees to do for her win Duffy the Squire's name and a carefree life until it comes time for her to guess the devil's name.
The devil agrees to do Duffy's spinning and knitting, winning Duffy the squire's name and a carefree life until the time comes when she has to guess the devil's name.