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: 'three young men on a beach leap toward a frisbee'. Reverse all words of length '1' in the given sentence.
three young men on a beach leap toward a frisbee

Sentence: 'the cox is standing behind the fence alone'. Reverse all words of length '2' in the given sentence.
the cox si standing behind the fence alone

Sentence: 'the woman is preparing food with different ingredients'. Reverse all words of length '9' in the given sentence.

the woman is gniraperp food with tnereffid ingredients