The correct answer is B to meet. The sentence implies a past encounter that is now forgotten. 'I remember to meet him before' is incorrect. The correct structure for remembering a past event is 'I remember meeting him'. However, the sentence is structured as 'I remember [something] him before, but I can't remember where.' The most logical completion for the first blank, given the options and the context of remembering someone, is 'to meet', implying a prior intention or occasion to meet him.