Honest answer, Mark, I don't remember. It was obviously the yellow wire that I tied off as shown in the fourth photo above and the two additional photos below. There may have been a wiring diagram included with the light assembly. I certainly don't remember doing any trial and error routine and, believe me, I am not that lucky to choose the correct wire to eliminate and the other three pairings so I must have had some direction.
Do your new light assemblies have the same four colored wires coming out? If so, I suggest you strip the ends of the three wires I used (even before you trim the length) and connect them temporarily with wire nuts to a 1157 plug as shown in the photos and install it in the upper socket. Now have a helper engage your headlights, brake light and turn signals while you watch. If everything works properly, as it does on my car, you know you have the correct three wires and respective plug connections.
If the wire colors are different on your new light assemblies you will either need to do some comparative wire tracing, reference a wiring diagram or do some trial and error (hopefully not damaging anything in the process).
Sorry my memory is not very good and that was a couple years ago now. That's the main reason I usually take lots of photos of my projects - hope they help.