YOU SAID:
did you do the homework last night?
INTO JAPANESE
昨夜宿題をしましたか?
BACK INTO ENGLISH
Did you do your homework last night?
INTO JAPANESE
昨夜宿題をしましたか?
BACK INTO ENGLISH
Did you do your homework last night?
That didn't even make that much sense in English.