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: 'two people on a motorcycle ride towards the road'. Reverse all words of length '6' in the given sentence.

SOLUTION: two elpoep on a motorcycle ride towards the road

PROBLEM: Sentence: 'a young man is sitting on the side of a bus eating a hot dog'. Reverse all words of length '3' in the given sentence.

SOLUTION: a young nam is sitting on eht side of a sub eating a toh god

PROBLEM: Sentence: 'a little boy is in bed with his panda bear'. Reverse all words of length '5' in the given sentence.

SOLUTION:
a little boy is in bed with his adnap bear