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 young man is sitting on the side of a bus eating a hot dog'. Reverse all words of length '3' in the given sentence.
a young nam is sitting on eht side of a sub eating a toh god

Sentence: 'a girl in a wig holding a tennis racket'. Reverse all words of length '3' in the given sentence.
a girl in a giw holding a tennis racket

Sentence: 'a hawk standing over its partially eaten prey'. Reverse all words of length '4' in the given sentence.

a kwah standing revo its partially eaten yerp