have you got an electrical tester ? if so switch off mains disconnect the second light and connect the black and red wires together, and test in the first light on these wires seperately and when you find the red wire that goes to your second light wire that up with the black wire with red...