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: 'the three trains are stopped on the railroad tracks'. Reverse all words of length '6' in the given sentence.
the three sniart are stopped on the railroad skcart

Sentence: 'a traffic light with road instructions directs traffic'. Reverse all words of length '4' in the given sentence.
a traffic light htiw daor instructions directs traffic

Sentence: 'a row of seats fashioned out of old motorcycles'. Reverse all words of length '5' in the given sentence.

a row of staes fashioned out of old motorcycles