Did she work yesterday? Yes, she did.
You did a good job with "did" ... Now here's why: With the Past Simple question you start with Did. The formula looks like this. (DID + S + V1). So we say: Did you work last Tuesday? Did people watch you?
More good news! For every person you say "did". AND all verbs stay the same V1. What a good day!
You are so good, in fact that we have another new form for you, the Wh question.
Give this a try:
did where she yesterday work
does
_____ _____ _____ _____ ?
Formula: it shows the general pattern of sentences; true for every sentence