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 dog yawns as its owner shops for a pet carrier', Sentence2: 'a group of elephants walking through a grassy field'. Is the frequency of the word 'a' in two sentences equal?

SOLUTION: Yes

PROBLEM: Sentence1: 'a bed room has red and white bedding and a decoration on the wall', Sentence2: 'a man is playfully sitting on a toilet in a room being renovated'. Is the frequency of the word 'room' in two sentences equal?

SOLUTION: Yes

PROBLEM: Sentence1: 'two guys fly a colorful kite next to a large body of water', Sentence2: 'a black and white photo of two women and a bbq'. Is the frequency of the word 'two' in two sentences equal?

SOLUTION:
Yes