You could say David's dog - meaning the dog belonging to David If you wanted to write David has a dog you couldn't write "David's a dog" - that would mean he IS a dog.
She and David (subject) went to school. The teachers taught her and David, or David and her (object), to read. A compound subject can never have "her" as the pronoun. TIP: It's really much easier to...