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 sitting in a boat with a tv'. Reverse all words of length '7' in the given sentence.
a man gnittis in a boat with a tv

Sentence: 'there is a sign stating that there is a scenic drive'. Reverse all words of length '4' in the given sentence.
there is a ngis stating taht there is a scenic drive

Sentence: 'people at a pavilion or square are using umbrellas'. Reverse all words of length '2' in the given sentence.

people ta a pavilion ro square are using umbrellas