This task requires using the past tense of the verb 'to be'. For the question, the subject is 'you', so we use 'were'. For the answer, the subject is 'I', so we use 'was'.
Answers:
Where were you last weekend? – I was at the shopping centre with my friends.