५.४६.३८

ततः स्वायम्भुवैर्मन्त्रैर्ब्रह्मास्त्रमभिमन्त्रितम् ।
हनूमांश्चिन्तयामास वरदानं पितामहात् ॥

अन्वयः

ततः then, हनुमान् Hanuman, स्वायंभुवैः by Brahma the creator, मन्त्रै mantra, अभिमन्त्रितम् appiled mantra, ब्रह्मास्त्रम् Brahmastram, पितामहात् grand sire, वरदानम् boon, चिन्तयामास started thinking

M N Dutt

And that heroic monkey began to think of the boons conferred on him by the Great-father of the celestials.

Summary

Hanuman realised that it was by invoking creator Brahma and applying the mantra that he was caught by Brahmastram. On that occasion he started thinking of the boon given to him by Grandsire Brahma :

पदच्छेदः

ततःततस् (अव्ययः)
स्वायम्भुवैर्स्वायम्भुव (३.३)
मन्त्रैर्मन्त्र (३.३)
ब्रह्मास्त्रम्ब्रह्मास्त्र (२.१)
अभिमन्त्रितम्अभिमन्त्रित (√अभि-मन्त्रय् + क्त, २.१)
हनूमांश्चिन्तयामासहनुमन्त् (१.१)–चिन्तयामास (√चिन्तय् प्र.पु. एक.)
वरदानंवर–दान (२.१)
पितामहात्पितामह (५.१)

छन्दः

अनुष्टुप् [८]

छन्दोविश्लेषणम्

तः स्वाम्भु वै र्म न्त्रै
र्ब्र ह्मास्त्रभिन्त्रि तम्
नू मां श्चिन्त या मा
दा नंपि ता हात्