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 small child having his teeth brushed by an adult'. Reverse all words of length '7' in the given sentence.

SOLUTION: a small child having his teeth dehsurb by an adult

PROBLEM: Sentence: 'a black cat laying on top of a couch next to a tv remote control'. Reverse all words of length '6' in the given sentence.

SOLUTION: a black cat gniyal on top of a couch next to a tv etomer control

PROBLEM: Sentence: 'a truck at a stop light with its brake lights on'. Reverse all words of length '4' in the given sentence.

SOLUTION:
a truck at a pots light htiw its brake lights on