5. Carol added that they had gone hiking in Yosemite last summer and had had a great time.
"that" (statement) + "they" (subject: Carol and her niece) + "had gone" (went > past perfect) and "had had" (had > past perfect)