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: 'man extending arm with three bananas crosswise on it'. Reverse all words of length '4' in the given sentence.
man extending arm htiw three bananas crosswise on it

Sentence: 'two giraffes are walking through a field of prairie grass'. Reverse all words of length '1' in the given sentence.
two giraffes are walking through a field of prairie grass

Sentence: 'a man sitting on the edge of a boat in the water'. Reverse all words of length '3' in the given sentence.

a nam sitting on eht edge of a boat in eht water