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 long train moving through a wooded area', Sentence2: 'a street scene with a tow truck and a car on the back'. Is the frequency of the word 'back' in two sentences equal?

SOLUTION: No

PROBLEM: Sentence1: 'a young woman walking on a sidewalk next to a firehydrant', Sentence2: 'a little boy enjoying a slice of pepperoni pizza in a restaurant'. Is the frequency of the word 'woman' in two sentences equal?

SOLUTION: No

PROBLEM: Sentence1: 'a church with some tents with items for sale in front of it', Sentence2: 'a man prepares to fly a kite in a grassy area'. Is the frequency of the word 'in' in two sentences equal?

SOLUTION:
Yes