(1)this(这部) film(电影) takes(usually means “花费”or“带走” under this situation) three hours(三个小时).——so the whole sentence can be directly translated into “这部电影花费三个小时。”but in oral Chinese, we usually say “这部电影有三个小时。”
(2)I (我)could not(不能够) come to class(来上课).(past time)——translated into “我不能够来上课。”
(3)I (我)prefer to(选择or偏爱) work(工作) in the company(在公司里).——translated into “我选择在公司里工作。”
(4)I(我) do not have(没有) the courage(勇气) to do(去做) it(它).——“我没有勇气去做它。”