In this task, you need to replace a letter in the sentence with another given letter.
Sentence: 'the plow is on the train while the train is parked on the tracks'. Replace the letter 'o' with 'd' in the sentence.