In this task, you need to replace a letter in the sentence with another given letter.
Sentence: 'a lone giraffe standing with a pile of dirt in the foreground'. Replace the letter 't' with 'd' in the sentence.