Valmiki Ramayana Ayodhya Kanda Sarga 118 Shloka 38
Original Shlokaतस्य बुद्धिरियं जाता चिन्तयानस्य सन्ततम्। स्वयंवरं तनूजायाः करिष्यामीति धीमतः।।2.118.38।।
1 source checked for this shloka
सन्ततम् constantly, चिन्तयानस्य pondering deeply, धीमतः wise, तस्य his, तनूजायाः for the daughter, स्वयंवरम् swayamvara, करिष्यामि I shall perform, इति thus, इयं बुद्धि: this thought, जाता was born.
After constantly pondering over the matter, the wise king arrived at the decision to perform a swayamvara for his daughter.