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.

Example Input: Sentence: 'yachts are all tied up in a marina dock'. Reverse all words of length '3' in the given sentence.
Example Output: yachts era lla tied up in a marina dock

Example Input: Sentence: 'a cat attentively watching a graphic on a television screen'. Reverse all words of length '7' in the given sentence.
Example Output: a cat attentively watching a cihparg on a television screen

Example Input: Sentence: 'two men are making pizza on a counter top'. Reverse all words of length '6' in the given sentence.
Example Output:
two men are gnikam pizza on a counter top