Basically by asking "How were Trimurthis born?" This question is asking "Who is the originator of whom?" Or "Who is the Ishwara?" Several answers are given here, but most of them are only from their perspective. Here I present all perspectives of all Trimurty.
#Brahma:
Brahma:
Yajurveda Shatapatha Brahmana 6.1.3.1
#Vishnu:
Vishnu:
Shiva:
#Shiva:
Svetasvatara Upanishad of Krishna YajurVeda (which is considered among the principle 12 Upanishads) declares this:
Finally,
#Finally,
ThusThus from one perspective we see one truth and from another persepective we see another truth.
Mahabharat says this: