A woman and a child are walking on a leaf-lined sidewalk, heading towards two people riding horses.
The people are heading towards eachother.
A woman and a child are people and "heading towards each other" is a rephrasing of "heading towards two people."
(-x)
(-x)