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 clean bathroom with a toilet and trash can', Sentence2: 'a white plate topped with rice and sauce covered beef'. Is the frequency of the word 'and' in two sentences equal?

SOLUTION: Yes

PROBLEM: Sentence1: 'a man laying on a pile of snow next to a snowboard inside of a building', Sentence2: 'a woman stands on the grass with a frisbee as her dog patiently waits'. Is the frequency of the word 'to' in two sentences equal?

SOLUTION: No

PROBLEM: Sentence1: 'a woman is standing in the kitchen cooking a meal', Sentence2: 'a man with a pony tail stands in a kitchen holding a drink'. Is the frequency of the word 'a' in two sentences equal?

SOLUTION:
No