Valmiki Ramayana Bala Kanda Sarga 42 Shloka 6
Original Shlokaकथं गङ्गावतरणं कथं तेषां जलक्रिया। तारयेयं कथं चैतानिति चिन्तापरोऽभवत्।।1.42.6।।
1 source checked for this shloka
गङ्गावतरणम् descent of Ganga, कथम् how to do?, तेषाम् their, जलक्रिया funeral rites with water, कथम् how to do?, एतान् them, कथम् how to, तारयेयम् इति (help them to cross the wordly sea of suffering and reach heaven) liberate, चिन्तापर: thoughtful, अभूत् became.
How to bring about the descent of Ganga? How to perform funeral rites of the ancestors with Ganga water? How to liberate them Thus Dilipa was constantly engaged in such thoughts.