The correct answer is **were you doing**, **was sleeping**.
**Explanation:** Both blanks require the past continuous form. The first blank forms the question: "What were you doing?" The second describes what she was doing while the action mentioned in the first part was happening.