A lady is running her dog through an agility course.
A person and dog are working together.
A lady can be more generally referred to as a person. The fact that a lady is running her dog through an agility course implies that she is working together with her dog, as sentence 2 states.
(-x)
(-x)