In this task, you need to replace a letter in the sentence with another given letter.
Sentence: 'an elephant's front legs are in the water and back legs are out of the water'. Replace the letter 'b' with 'r' in the sentence.