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 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: 'a sink and a bathtub and shower with a mirror above the sink'. Reverse all words of length '4' in the given sentence.
a knis and a bathtub and shower htiw a mirror above the knis

Sentence: 'white plate with pork chop pasta and broccoli'. Reverse all words of length '4' in the given sentence.

white plate htiw krop pohc pasta and broccoli