In 7). the possessive pronoun hers is used to replace a possessive noun. For example, suppose there is a novel that belongs to Emily. We would say:
A situation that requires choosing between the nominative (subjective) case and the objective case is when a pronoun is used to identify a noun or another pronoun.
In many situations, you can determine the correct pronoun by mentally omitting words or rearranging the sentence.
The nominative (subjective) case and the objective case are the most important case forms.
Simply remember that pronouns in the nominative or subjective case are those that can function as subjects. So, by default, if a pronoun cannot function as a subject, then it must be the objective case.