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 vintage photo of a man riding an old motorcycle'. Reverse all words of length '7' in the given sentence.
a egatniv photo of a man riding an old motorcycle

Sentence: 'chair and apartment size refrigerator in a small room'. Reverse all words of length '12' in the given sentence.
chair and apartment size rotaregirfer in a small room

Sentence: 'an alligator clip is attached to a fork piercing a hot dog'. Reverse all words of length '9' in the given sentence.

an rotagilla clip is attached to a fork piercing a hot dog