In this task, you need to replace a letter in the sentence with another given letter.
Sentence: 'one dog laying on a bed and a second dog sitting on the same bed'. Replace the letter 'a' with 't' in the sentence.