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 girl in a wig holding a tennis racket'. Reverse all words of length '3' in the given sentence.
[EX A]: a girl in a giw holding a tennis racket

[EX Q]: Sentence: 'a gentleman and child in a vintage picture with a horse'. Reverse all words of length '4' in the given sentence.
[EX A]: a gentleman and child in a vintage picture htiw a horse

[EX Q]: Sentence: 'a bicycle with a large cart parked next to a canal'. Reverse all words of length '6' in the given sentence.
[EX A]:
a bicycle with a large cart dekrap next to a canal