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: 'a photo of a glass of wine an apple and a banana'. Reverse all words of length '2' in the given sentence.

A: a photo fo a glass fo wine na apple and a banana
****
Q: Sentence: 'a couple of giraffes standing in front of a metal fence'. Reverse all words of length '8' in the given sentence.

A: a couple of seffarig gnidnats in front of a metal fence
****
Q: Sentence: 'a woman sits on a tall horse as the sun begins to set'. Reverse all words of length '6' in the given sentence.

A:
a woman sits on a tall horse as the sun snigeb to set
****