What does the Bible say about who God is and what his relationship is with his son?

How does Jesus’ unity with his father described in John 10:30 relate to Jesus’ prayer later in John 17, when he desires that believers should have the same unity?

“I do not ask on behalf of these alone, but for those also who believe in Me through their word; that they may all be one; even as You, Father, are in Me and I in You, that they also may be in Us, so that the world may believe that You sent Me. The glory which You have given Me I have given to them, that they may be one, just as We are one; I in them and You in Me, that they may be perfected in unity, so that the world may know that You sent Me, and loved them, even as You have loved Me.” ~ Jesus in Jhn 17:20-23 NASB