3 supply wires coming into 1 junction box
I am trying to hang a light that has only two copper wires (just a plain brown cord wire that is split and stripped) to a junction box that has 3 separate power supply lines coming into it. Two lines are coming in through one hole on one side and another on the other side. Each supply line has a white, black and copper ground wire. On one of the power supply lines the previous home owner (who was a builder) cut off the white cord. So there are 5 wires that need to be connected to only two wires (two white and 3 black, plus the copper ground; which I don't think he had connected). There are two swithches for the one light. One on each end of the room. Can anyone tell me what to do with that 3rd black wire?