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 can of pepsi and cellphone on the table'. Reverse all words of length '2' in the given sentence.

A: a can fo pepsi and cellphone no the table
****
Q: Sentence: 'a pair of boats are beside each other in the water'. Reverse all words of length '6' in the given sentence.

A: a pair of boats are ediseb each other in the water
****
Q: Sentence: 'a woman taking a photograph of a young man wearing a red shirt'. Reverse all words of length '5' in the given sentence.

A:
a namow taking a photograph of a gnuoy man wearing a red trihs
****