What are syntactic functions of to-infinitive? Give an example.

What are syntactic functions of to-infinitive? Give an example.
【正确答案】:The to-infinitive can perform a variety of syntactic functions: object to a verb, modifier of a noun, subject in a clause, etc. For example: I believe him to be honest./ the books to be published/ I don’t know how to repair the car.