YOU SAID:
why am i doing this i have homework
INTO JAPANESE
宿題があるのになぜこんなことをしているのか
BACK INTO ENGLISH
Why are you doing this when you have homework?
INTO JAPANESE
宿題があるのになぜこんなことをするのですか?
BACK INTO ENGLISH
Why are you doing this when you have homework?
That didn't even make that much sense in English.