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 slice of pizza on top of a white plate'. Reverse all words of length '3' in the given sentence.
Example Output: a slice of pizza on pot of a white plate

Example Input: Sentence: 'a person wearing a black jacket is standing next to a horse'. Reverse all words of length '8' in the given sentence.
Example Output: a person wearing a black jacket is gnidnats next to a horse

Example Input: Sentence: 'a young girl is riding a brown and white horse'. Reverse all words of length '5' in the given sentence.
Example Output:
a gnuoy girl is riding a nworb and etihw esroh