It takes sb. some time to do sth.
主语spend + 时间段 to do sthIt takes sb. some time to do sth.
spend time to do sth.
spend time doing sth spend some time doing to spend time in doing sth