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.

Example Input: Sentence: 'a giraffe standing next to a leafy tree'. Reverse all words of length '1' in the given sentence.
Example Output: a giraffe standing next to a leafy tree

Example Input: Sentence: 'a bedroom with clothes scattered everywhere and an unmade bed'. Reverse all words of length '7' in the given sentence.
Example Output: a moordeb with sehtolc scattered everywhere and an unmade bed

Example Input: Sentence: 'two display case with trays of donuts and person in background'. Reverse all words of length '5' in the given sentence.
Example Output:
two display case with syart of donuts and person in background