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 living room filled with furniture and windows'. Reverse all words of length '1' in the given sentence.
a living room filled with furniture and windows

Sentence: 'a train is in a depot at the platform entry'. Reverse all words of length '2' in the given sentence.
a train si ni a depot ta the platform entry

Sentence: 'three pastries on a plate are sitting on a table'. Reverse all words of length '5' in the given sentence.

eerht pastries on a etalp are sitting on a elbat