what did [you/they] do?, what someone did
オートドックは、身体のあちこちの器官に何をしたか説明してくれた。
The autodoc explained what it had done to various organs throughout the body.
彼らが何をしたのか、すべてわかるまで、昼も夜も尋問を決してやめない。
They won't stop interrogating them, day or night, until they find out everything they did.
I had you followed today. I know where you went and what you did.
— マレーナ (2000)
Let me ask you one thing: do you remember what you did to Sophia?
— オープン・ユア・アイズ (1997)