I think the week was 7 days long because of the 7 planets.
The week could be 12 days long because you can divide it up in more ways. You can divide 12 by 12, 6, 4, 3, 2 and 1. If the week was twelve days long and I wanted to divide the week up into 3 equal parts I could, the 3 equal parts would have 4 days. You can't do the same with 7 or 10. I think you can only divide 10 up by 10, 5, 2 and 1. 7 can only be divided by 7 or 1.
I don't think God made the universe in 6 days because days didn't exist when the universe started. I don't know how God created the universe.