Write the correct word for the nest questions. use Did, was or were

_____________ you write the topic?
_____________ you at the school on monday?
____________ study the rules?
___________ they at the mall?
____________ she run the marathon?​