Question: what are you doing in indirect speech?
Answer: If Sally's question was directed to a third person, and if I were to report the speech indirectly, I would say "Sally asked what you were doing," if I were addressing that same third person, or otherwise "Sally asked what he(she/they) was(were) doing." It depends on whom Sally is addressing.