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.

[Q]: Sentence: 'the double decker bus is headed for its destination'. Reverse all words of length '2' in the given sentence.
[A]: the double decker bus si headed for its destination


[Q]: Sentence: 'two giraffes standing next to a fence trying to reach the grass'. Reverse all words of length '6' in the given sentence.
[A]: two giraffes standing next to a fence gniyrt to reach the grass


[Q]: Sentence: 'toilitries in a bathroom of some sort near a window'. Reverse all words of length '10' in the given sentence.
[A]:
seirtiliot in a bathroom of some sort near a window