In this task, you need to replace a letter in the sentence with another given letter.
Sentence: 'a passenger train travels on train tracks with overhead wires'. Replace the letter 'i' with 'd' in the sentence.