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 young boy stands atop a beginner skateboard in the house', Sentence2: 'signs in front of a diner on the streets of a busy and compact road'. Is the frequency of the word 'in' in two sentences equal?

SOLUTION: Yes

PROBLEM: Sentence1: 'a tall giraffe in a zoo eating branches', Sentence2: 'a tennis player in a black shirt playing tennis'. Is the frequency of the word 'playing' in two sentences equal?

SOLUTION: No

PROBLEM: Sentence1: 'two mallards float and drink water in a shallow pool', Sentence2: 'people playing a game in a wood gated field'. Is the frequency of the word 'gated' in two sentences equal?

SOLUTION:
No