teach him the book 所以book是 被教的
he has to do the homework (which is )set for him
定语从句,括号里的被省略.set 是安排的意思