A TV with 5 jacks suggests Analog INPUT. To get audio out of it, you need OUTPUT. And surround system having 6 jacks suggest DISCRETE analog channels which is a big problem because TVs don't output discrete analog signals unless for STEREO only. TVs output surrounds (multi-channels) as digital, often via Toslink. So right now you have a hundred piece puzzle and haven't even start it.
Post pic of the back of TV and sound system, and/or specify make/models and see if folks here have enough patience to look things up for you.