The prepositions to the questions - Wohin, Wo, Woher. Add to "Wo, Wohin, Woher" and the correct preposition (+ article). Also note upper and lower case.
Example:
___ warst du gestern? – __ ___ Schule.
Wo warst du gestern? – In der Schule.
! an + dem = am; in + dem = im; in + das = ins; zu + dem = zum; zu + der = zur;
Good luck solving it!