Two pedestrians passing a restaurant look at the dog that is looking at them.
Two people passing a market store look at the cat.
They can be passing either a restaurant or a market store. There can be either a dog or a cat.
(-x)
(-x)