The best way is to see where each cable goes to. If it goes to the frame, it's a ground cable. If it goes through an in-line fuse and then into the trailer, it's a positive cable.
However, your best friend is a digital multimeter. Walmart, Harbor Freight, etc sells them for less than $20...the cheaper the better.
Take the meter and measure ohms and then put one probe on the cable connector and the other to ground. If it measures "1", then you have the ground cable...if it measures anything else, it's a positive cable. Simple, huh?
Ron