The trinity is an interesting man made doctrine, not biblical. It was confused minds trying to make sense of things. Instead of asking of God, they created their own doctrine .
God, Jesus and the holy ghost are all separate beings. Jesus prayed to God on earth, correct? Why would he pray to himself if he himself was God? Lol!! Sounds crazy,right?
Jesus prayed to God, his father, our heavenly father. A separate being. Jesus was God's first spiritual creation. As we were all made spiritual before coming to earth, (pre-earth life).
If you wish to seek the truth, rather then man made doctrines, I invite all to go to
Mormon.org | What is the Mormon Church and Religion? and there, can find the truth to all things.