In this task, you need to replace a letter in the sentence with another given letter.
Sentence: 'several people in their formal blues cutting into a sheet cake'. Replace the letter 'i' with 'g' in the sentence.