Ответ:

The events go from the animals being wild to their becoming domestic. “Her” refers to the cow.

  1. The animals were wild.
  2. First, a wild dog came to the cave.
  3. The dog became domestic.
  4. Then, a wild cow came to the cave.
  5. The woman gave her some grass.