Chosen Solution

I want to reuse my old iMac Late 2009 speakers so can I splice the cable to use a headphone jack and connect them to another computer that way? There seems to be 4 cables in the imac speaker cables and only 2 in a regular headphone jack cable?

While you could splice a headphone plug onto the speakers. I don’t think these are really worth it. These speakers are on the low end. Today you can pickup amplified speakers which are much better! I personally have a nice set of Sony wired speakers (SRS-88PC) I picked up used a few years ago for $25. To wire up your speakers you need to bond one side together and then the other two leads are wired as outlined here