“每晚做作业花费我一个小时”的翻译是啥

问题描述:

“每晚做作业花费我一个小时”的翻译是啥

I spent an hour to do homework every night.

I spend 1 hour to complete my homework every night.