Here is my explanation of where the book of Genesis chapter one verses 1 to 3 actually make reference to the Trinity.
The Creation of the World and the Trinity
Gen 1:1 In the beginning God created the heaven and the earth.
When are we talking about ? The Beginning. Of what? Certainly...