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 can of pepsi and cellphone on the table'. Reverse all words of length '2' in the given sentence.
a can fo pepsi and cellphone no the table

Sentence: 'a couple of toothbrushes that are on a towel'. Reverse all words of length '6' in the given sentence.
a elpuoc of toothbrushes that are on a towel

Sentence: 'a dog with a frisbee in its mouth running in a field'. Reverse all words of length '4' in the given sentence.

a dog htiw a frisbee in its mouth running in a field