TASK DEFINITION: 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.
PROBLEM: Sentence: 'a group of people eating a cake on a table'. Reverse all words of length '6' in the given sentence.

SOLUTION: a group of elpoep gnitae a cake on a table

PROBLEM: Sentence: 'a row of parked motorcycles sitting next to a white double decker bus'. Reverse all words of length '7' in the given sentence.

SOLUTION: a row of parked motorcycles gnittis next to a white double decker bus

PROBLEM: Sentence: 'steaks potatoes bread sticks and pizza on a grill'. Reverse all words of length '6' in the given sentence.

SOLUTION:
skaets potatoes bread skcits and pizza on a grill