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.

[EX Q]: Sentence: 'a man leaning forward as he swings a tennis racket'. Reverse all words of length '2' in the given sentence.
[EX A]: a man leaning forward sa eh swings a tennis racket

[EX Q]: Sentence: 'someone is holding a computer on top of two plastic barrels'. Reverse all words of length '1' in the given sentence.
[EX A]: someone is holding a computer on top of two plastic barrels

[EX Q]: Sentence: 'three giraffes looking around at each other next to a rock'. Reverse all words of length '6' in the given sentence.
[EX A]:
three giraffes looking dnuora at each other next to a rock