"It took me a lifetime to have the courage and clarity to write my memoir. I want to tell the story of the moments," Carey said