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: 'two kids playing soccer with a ball while a referee watches closely'. Reverse all words of length '4' in the given sentence.
two sdik playing soccer htiw a llab while a referee watches closely

Sentence: 'the giraffe is eating from the hands of the spectators'. Reverse all words of length '2' in the given sentence.

the giraffe si eating from the hands fo the spectators