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 picture of some people out of snow', Sentence2: 'people approach and order at a red food truck'. Is the frequency of the word 'a' in two sentences equal?

SOLUTION: Yes

PROBLEM: Sentence1: 'a black and white photo of a bus', Sentence2: 'in an old black and white photo men are riding horses'. Is the frequency of the word 'and' in two sentences equal?

SOLUTION: Yes

PROBLEM: Sentence1: 'a wide variety of baked goods behind a bakery counter', Sentence2: 'an older gentleman eating lunch with a younger woman'. Is the frequency of the word 'a' in two sentences equal?

SOLUTION:
No