Help, help help please.

I believe it is B. Doesn’t have a comma after you. Should be written like this
“I had almost given up on ever seeing you, when you finally arrived”
I would say the answer is D. The word "had" doesn't need to be in the sentence. It should just be "She went along with me for the canoe ride."