In this task, you need to replace a letter in the sentence with another given letter.
Sentence: 'a white fence stands near train tracks as two trains are in the distance'. Replace the letter 'a' with 'd' in the sentence.