In this task, you need to replace a letter in the sentence with another given letter.
Sentence: 'a dog lying lazily on a bed peeking up from the covers'. Replace the letter 'b' with 'p' in the sentence.