In this task, you need to replace a letter in the sentence with another given letter.
Sentence: 'two dogs lounge on a chair that is seated by a window'. Replace the letter 'd' with 'w' in the sentence.