In this task, you need to reverse all words of a given length in the sentence. The number of letters in a word determine its length. For example, the length of the word "apple" is 5.

Sentence: 'a bathroom area with writing on the wall and a mirror'. Reverse all words of length '4' in the given sentence.
a bathroom aera htiw writing on the llaw and a mirror

Sentence: 'patio furniture set to look out over the ocean'. Reverse all words of length '3' in the given sentence.
patio furniture tes to look tuo over eht ocean

Sentence: 'a herd of animals eating food inside of a pen'. Reverse all words of length '6' in the given sentence.

a herd of animals gnitae food edisni of a pen