The accurate response is: The solar system formed about 9 billion years after the big bang.
The solar system formed from the remnants of earlier stars and other materials in the universe, following the events of the big bang and the subsequent formation of galaxies and stars.