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: 'yachts are all tied up in a marina dock'. Reverse all words of length '3' in the given sentence.
yachts era lla tied up in a marina dock

Sentence: 'the image shows the screen of a cell phone homepage'. Reverse all words of length '2' in the given sentence.
the image shows the screen fo a cell phone homepage

Sentence: 'empty building with mopeds in front all bearing the same phone number'. Reverse all words of length '5' in the given sentence.

ytpme building with mopeds in tnorf all bearing the same enohp number