It is taught in scripture clearly. The details of it are difficult to explain however. If Jesus is God the father, did He talk to Himself at His baptism? This part of doctrine is foolish and illogical.
Jesus was a man, just as human as you or I. His humanity is the Son and was in need of fellowship with the Father to substain Him just as we do, and was as dependent on the Holy Spirit as we are. This is why Jesus needed to pray.
1st Timothy 2:5 For there is one God, and one mediator between God and men, the man Christ Jesus;
However Jesus was God in the flesh (not God the Son there is no such person in the Bible but the only God God the Father)
1st Timothy 3:16 And without controversy great is the mystery of godliness: God was manifest in the flesh, justified in the Spirit, seen of angels, preached unto the Gentiles, believed on in the world, received up into glory
God The Father was manifest in the flesh as the Son
If the deity of Jesus is not the Father Himself then He is not only not god because the Father is the only God but He is a liar, because Jesus tells Philip that He is the Father.
John 14:7 If ye had known me, ye should have known my Father also: and from henceforth ye know him, and have seen him. 8 Philip saith unto him, Lord, show us the Father, and it sufficeth us.
9 Jesus saith unto him, Have I been so long time with you, and yet hast thou not known me, Philip? he that hath seen me hath seen the Father; and how sayest thou then, Show us the Father?
So is Jesus a liar or the Father as He say He is?
Jesus also speaks of the Holy Spirit in the first person, when He tell the disciple He is going to send the Holy Spirit He tells the I (Jesus) will not leave you comfortless I (The Holy Spirit) will comne for you.
John 14:18 I will not leave you comfortless: I will come to you.
You can either believe the word of Jesus and scripture or you vcan believe your man made doctrine but you cannot believe both, your chooice.