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: 'competitor preparing to return volley during major tennis tournament'. Reverse all words of length '6' in the given sentence.
competitor preparing to nruter yellov gnirud major sinnet tournament

Sentence: 'a silver bmw motorcycle being posed for a picture'. Reverse all words of length '1' in the given sentence.
a silver bmw motorcycle being posed for a picture

Sentence: 'a table has a cup and a birthday cake with a candle and strawberries on it'. Reverse all words of length '8' in the given sentence.

a table has a cup and a yadhtrib cake with a candle and strawberries on it