To V + takes + (人) ＋ 时间 ＝It + takes + (人) ＋ 时间 ＋ to V
It took me two hours to clean my room. 我花了两小时清理我的房间。
= To clean my room took me two hours.
It took three hundred workers three years to build the skyscraper.
It took Rachel two weeks to get adapted to her new class.
It took Brian a whole afternoon to fix the leaky faucet.
How much time does it take you to swim from this end of the swimming pool to the other end？