1.to finish
it takes sb.some time to do sth 某人做某事用了多长时间,
2.(from ) being punished
escape from doing 逃脱做某事,其中的from可以省略