One desirable way is to ascertain which noun or pronoun is logically related to the infinitive phrase and ACTS as its logical subject.
⇑ Translate the sentence above by Google ⇑
Related: infinitive