I spent twenty minutes getting to school on foot.
知识要点:it takes sb.stime to do sth=sb.spend stime doing sth.