In this task, you need to replace a letter in the sentence with another given letter.
Sentence: 'an old boat is on the shore of a beach with nets, boxes, and other junk next to it and other beached boats in the background'. Replace the letter 't' with 'p' in the sentence.