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 and a dog in the water with a surfboard'. Reverse all words of length '2' in the given sentence.
[EX A]: a man and a dog ni the water with a surfboard

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

[EX Q]: Sentence: 'a giraffe and its baby standing next to a grouping of trees bordered by rocks'. Reverse all words of length '4' in the given sentence.
[EX A]:
a giraffe and its ybab standing txen to a grouping of trees bordered by rocks