You learned donner un livre à Anna. Replace the recipient à Anna with lui, before the verb. Lui can refer to one woman or one man. It replaces the recipient, while un livre still names the thing given.
Use leur for several recipients: téléphoner à Anna et Thomas becomes leur téléphoner. This pronoun never takes s. Unlike possessive leur/leurs, it stands before a verb and does not introduce a possessed noun.
Me identifies the speaker as the object: she is looking for me. The same form can also be an indirect recipient, as in elle me téléphone. Unlike reflexive elle se prépare, the subject and the person represented by me are different.
Te identifies one person being addressed familiarly. Use it both for a direct object, elle te cherche, and for the selected indirect recipient, elle te téléphone. Here both me and te are followed by consonants.
Object nous refers to a group including the speaker. Its position and role differ from subject nous: in elle nous cherche, elle is doing the action, so the verb remains third-person singular.
Object vous refers to several addressees or one person addressed politely. The subject still controls the verb: elle vous téléphone, not elle vous téléphonez. It also works for a direct object: elle vous cherche.