As Jim said, "Although there are lots of exceptions, the main use of the possessive construction ('s) is with a person, that is, with entities to whom things can belong."
Your teacher might not think that dogs can possess things, but dogs think otherwise -- I hope your teacher...