Sentence:  In a small way this is illustrated by the nineteenth century novelist who argued for the powerful influence of literature as a teacher of society and who illustrated this with the <WSD>way</WSD> a girl learned to meet her lover , how to behave , how to think about this new experience , how to exercise restraint . 
Meaning of the word marked with <WSD> tags:  how a result is obtained or an end is achieved