Answer:
To understand that people act in a way that is motivated by their desires (for example, I am hungry so I will reach for that apple) is to understand that other people have their own desires (she must be hungry), thus demonstrating a theory of mind, or attributing mental states to others