Replace the underlined words/expressions with the most appropriate pronoun(s) and rewrite the sentence:

Je donne les livres à mes amies