Answer:
The sound of hammering becomes fainter as Nancy goes into her room because some of the sound waves are absorbed by the walls. Only part of the sound waves coming from the other room comes into her room, so the hammering sounds quieter.
I hope this helps. Good luck ^^