1.I spend three hours doing my homework every day.
= It takes me three hours to do my homework every day.
2.He spends ten minutes riding his bike to school every day.
= It takes him ten minutes to ride to school every day.
1.I spend three hours doing my homework every day.
= It takes me three hours to do my homework every day.
2.He spends ten minutes riding his bike to school every day.
= It takes him ten minutes to ride to school every day.