Valmiki Ramayana Kishkindha Kanda Sarga 56 Shloka 11
Original Shlokaअन्योऽन्यमुपकुर्वन्ति स्नेहकारुण्ययन्त्रिताः। तेन तस्योपकारार्थं त्यजताऽत्मानमात्मना।।4.56.11।।
1 source checked for this shloka
स्नेहकारुण्ययन्त्रिताः bound by friendship and compassion, अन्योन्यम् mutually, उपकुर्वन्ति help, तेन by him, तस्य Rama's, उपकारार्थम् for wellbeing, आत्मानम् his life, आत्मना by himself, त्यजत by giving up.
'Bound by friendship and compassion each one helps the other. In fact, Jatayu did this by giving up his life on his own, for the sake of Rama.