TASK DEFINITION: In this task, answer 'Yes' if the frequency of the given word in the two sentences is equal, else answer 'No'.
PROBLEM: Sentence1: 'a blue and yellow colored bird perches on a tree branch', Sentence2: 'people on a car driving past elephants and a hippo'. Is the frequency of the word 'and' in two sentences equal?

SOLUTION: Yes

PROBLEM: Sentence1: 'a woman holding an owl on her arm', Sentence2: 'the polar bear is laying on the snow'. Is the frequency of the word 'is' in two sentences equal?

SOLUTION: No

PROBLEM: Sentence1: 'a batter has swung at the ball while the crowd is watching', Sentence2: 'a person standing with video game remotes in hand'. Is the frequency of the word 'remotes' in two sentences equal?

SOLUTION:
No