Hi,i have a couple question's #1 the oxygen sensor plug from the car that plugs on the 02 sensor well the wires were ripped out of the plug and i need to know what color wire goes where...,i'll add some pic's hopfully that will help you to help me,

as you see on the 2 top pics is the plug that plugs on the 02 sensor that the wires were ripped out of,,
#2 is the starter wires has a small black wire that im not 2 sure where it goes,i added a pic i circled the wire in red,,
Sorry for the way i described it,,im hoping someone here can guide me Thanks.
sorry i forgot to add the 02 plug wires colours,,1 is purple and the other one is a light orange Thanks again.