How Cognitive Functions Work in Relationships