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 mix of vegetables in a pot with a spoon'. Reverse all words of length '4' in the given sentence.
[EX A]: a mix of vegetables in a pot htiw a spoon

[EX Q]: Sentence: 'a herd of horses is exercised in the yard led by a man on horseback'. Reverse all words of length '6' in the given sentence.
[EX A]: a herd of sesroh is exercised in the yard led by a man on horseback

[EX Q]: Sentence: 'an erupting water pipe is drenching two workers while children watch'. Reverse all words of length '8' in the given sentence.
[EX A]:
an gnitpure water pipe is drenching two workers while nerdlihc watch