In this task, you need to replace a letter in the sentence with another given letter.
Sentence: 'an elephant crosses a dirt road in front of a white truck'. Replace the letter 'f' with 'y' in the sentence.