Write two sentences containing compound phrases with pronouns. Use a nominative case pronoun in one sentence and an objective case pronoun in the other.

He and I went to the store and bought groceries together.

She gave the book to him and then went to her class.