Scientists have been asking for many decades how planets form and a new Jupiter-like gas giant spotted outside our solar system could provide the answers.