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 family room area without anybody in it'. Reverse all words of length '7' in the given sentence.
a family room area tuohtiw ydobyna in it

Sentence: 'a dog is sleeping on a boat in the water'. Reverse all words of length '2' in the given sentence.
a dog si sleeping no a boat ni the water

Sentence: 'the ducks are enjoying their swim in the pond'. Reverse all words of length '4' in the given sentence.

the ducks are enjoying their miws in the dnop