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 birthday cake cut in different pieces sitting on a tray at a table'. Reverse all words of length '1' in the given sentence.
a birthday cake cut in different pieces sitting on a tray at a table

Sentence: 'the two clocks are beneath two monitors and in front of a keyboard'. Reverse all words of length '2' in the given sentence.
the two clocks are beneath two monitors and ni front fo a keyboard

Sentence: 'a ferret chewing an electric device of some kind'. Reverse all words of length '6' in the given sentence.

a terref chewing an electric ecived of some kind