Put in on DC Volts, make sure the red (postive) and black (negative) are plugged in correct on the volt meter. attach the leads to the wires if the voltage read is postive, the red lead is connected to the postive wire and black connected to the negative otherwise the voltage will be negative, switch leads, the voltage will be postive and the red lead will be on the postive wire.
Please note on some of these adapters the polarity can be set with a switch on the adapter. Not sure about yours. Basically if you slide the switch the polarity changes.
The white line should be so you can tell the wires apart.
Also make sure to solder so the connections do not ever spark.