The speaker describes (17) from Taroo's standpoint and (18) from Hanako's point of view.
the agent-centered verb yaru is used when the speaker empathizes more with the referent of the subject, whereas the beneficiary-centered verb kureru is used when the speaker empathizes more with the referent of the dative object rather than with that of the subject object.