The(modifer 含to) company distributed laptops and computers to students(modifier) to them to replace text books
The (modifer 含to)company distributed laptops and computers to studnets(modifer) for them in place of text books
另外两个选项也是接for 或者to的吧。欢迎大家补充!我花了5分钟,还是选了我写的第二个选项。但考场上总觉得有些不对。