An infinitive is the word to followed by the base form of a verb. Subjects of infinitives are an exception to the rule that subjects must be in the subjective case. Whenever an infinitive has a subject, it must be in the objective case. Objects of infinitives also are in the objective case.
John and me is the subject of the infinitive to drive; senator and her is the direct object of the infinitive.
Exercises:
Pronoun case (such as I vs. me) 1
Pronoun case (such as I vs. me) 2
Pronoun case (such as I vs. me) 3
Pronoun case: review 1
Pronoun case: review 2
Related topic:
Infinitive phrases