In this task, you need to replace a letter in the sentence with another given letter.
Sentence: 'a red trolley car is riding down the street next to trees in the middle of autumn'. Replace the letter 'r' with 'o' in the sentence.