What is the version of the following sentence with correct punctuation?

When switching ball with Polaris split the old strand in two on the last 15 cm cut off one part do the same on the new strand
When switching ball with Polaris, split the old strand in two on the last 15 cm cut off one part, do the same on the new strand.