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 black and white dog wearing a red coat on a bed', Sentence2: 'a frowning woman holding a piece of pizza in her right hand'. Is the frequency of the word 'frowning' in two sentences equal?

SOLUTION: No

PROBLEM: Sentence1: 'a person holding a cell phone in their hand', Sentence2: 'a man flying through the air while riding a skateboard'. Is the frequency of the word 'a' in two sentences equal?

SOLUTION: Yes

PROBLEM: Sentence1: 'a laptop computer sitting on top of a blue counter', Sentence2: 'a picture of a dish consisting of a variety of vegetables and lemons'. Is the frequency of the word 'top' in two sentences equal?

SOLUTION:
No