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 banana laying near the water with light reflecting on it'. Reverse all words of length '1' in the given sentence.
a banana laying near the water with light reflecting on it

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

Sentence: 'a skateboarder performing a trick on a skateboard ramp'. Reverse all words of length '4' in the given sentence.

a skateboarder performing a trick on a skateboard pmar