Structure with No-Principal Verb Question:
WH + AX (was/were) + S + C ?
Where were your shoes yesterday?
Where were your shoes yesterday?
Structure with Principal Verb Question:
WH + AX (did) + S (simple form)+ PV + C ?
Where did you study English?
Where did you study English?