yajnavalkyat trayim pathan
astra-jnanam kriya-jnanam
tasya-of Janamejaya; putrah-the son; satanikah-Satanika; yajnavalkyat-from the great sage known as Yajnavalkya; trayim-the three Vedas (Sama, Yajur and Rg); pathan-studying thoroughly; astra-jnanam-the art of military administration; kriya-jnanam-the art of performing ritualistic ceremonies; saunakat-from Saunaka Rsi; param-transcendental knowledge; esyati-will achieve.