In this task, you need to replace a letter in the sentence with another given letter.
Sentence: 'a dog is sticking his head out the window of a moving car'. Replace the letter 'h' with 'w' in the sentence.