an easy way to do it is to just clip on a 9v battery on one and and mark polarity. Then test the other end with a DMM and mark the polarity.

(Dont have the wires plugged into your speakers when you do this!)