Here are the transformations for the given sentences:
---
1. He was planting trees in the garden at 4 pm yesterday.
Negative: He was not planting trees in the garden at 4 pm yesterday.
Question: Was he planting trees in the garden at 4 pm yesterday?
Answer: Yes, he was. / No, he wasn’t.
---
2. They were working when she came yesterday.
Negative: They were not working when she came yesterday.
Question: Were they working when she came yesterday?
Answer: Yes, they were. / No, they weren’t.
---
3. She was painting a picture while her mother was making a cake.
Negative: She was not painting a picture while her mother was making a cake.
Question: Was she painting a picture while her mother was making a cake?
Answer: Yes, she was. / No, she wasn’t.
---
4. Anne was riding her bike to school when Peter saw her yesterday.
Negative: Anne was not riding her bike to school when Peter saw her yesterday.
Question: Was Anne riding her bike to school when Peter saw her yesterday?
Answer: Yes, she was. / No, she wasn’t.
---
5. He was typing a letter when his boss went into the room.
Negative: He was not typing a letter when his boss went into the room.
Question: Was he typing a letter when his boss went into the room?
Answer: Yes, he was. / No, he wasn’t.
Let me know if you have more questions, Hannah!