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 line of buses waiting to take passengers where they need to go'. Reverse all words of length '2' in the given sentence.
a line fo buses waiting ot take passengers where they need ot og

Sentence: 'a group of zebras gather at a watering hole'. Reverse all words of length '1' in the given sentence.
a group of zebras gather at a watering hole

Sentence: 'a train pulls up to a group of people on a platform'. Reverse all words of length '2' in the given sentence.

a train pulls pu ot a group fo people no a platform