In this task, you need to replace a letter in the sentence with another given letter.
Sentence: 'a train traveling on train tracks by a residential area'. Replace the letter 'r' with 'p' in the sentence.