Going to school costs me ten minutes every day.
I spend ten minutes in going to school every day.
It takes me ten minutes to go to school every day
I pay ten minutes for going to school every day.
It takes sb +时间或金钱或精力等to do sth
sd spend +时间或金钱或精力等(in) doing sth 其中的in可以省略
sd spend 时间或金钱或精力 on sth
sth cost sb+时间或金钱或精力
sb pay + 时间或金钱或精力 for sth