Understanding the thought process of a loved one with dementia can help ease the frustration of trying to care for them.