In this task, answer 'Yes' if the frequency of the given word in the two sentences is equal, else answer 'No'.
Sentence1: 'a black cat standing on a wooden floor with a carrot in front', Sentence2: 'two dogs are wearing bonnets tied to a pole'. Is the frequency of the word 'tied' in two sentences equal?