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 man being towed behind a boat on a board'. Reverse all words of length '4' in the given sentence.
a man being towed behind a taob on a board

Sentence: 'a small clean unoccupied bathroom on public transportation'. Reverse all words of length '10' in the given sentence.
a small clean deipucconu bathroom on public transportation

Sentence: 'a room containing a clock two black stools and a window with an orange curtain'. Reverse all words of length '6' in the given sentence.

a room containing a clock two black sloots and a wodniw with an egnaro curtain