1. The question is about 'you and Sophie' (plural) and refers to 'yesterday morning' (past).
2. For a plural subject in the past tense, 'were' is the correct form of the verb 'to be'.
3. The correct completion is 'Were you and Sophie at the mall yesterday morning?'.