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 red bus drives through the icy streets of an old city', Sentence2: 'a stop sign that has been written on with white ink'. Is the frequency of the word 'a' in two sentences equal?

SOLUTION: Yes

PROBLEM: Sentence1: 'a kite hitting a door of an establishment', Sentence2: 'a kitchen counter sitting in the middle of a kitchen'. Is the frequency of the word 'in' in two sentences equal?

SOLUTION: No

PROBLEM: Sentence1: 'a teddy bear on a chair in front of a bookshelf', Sentence2: 'a yellow train is on the railroad tracks'. Is the frequency of the word 'on' in two sentences equal?

SOLUTION:
Yes