i guess you have problems with connecting the two cables, right? The one on the right has to be plugged in in the control box on the bottom left side of the printer. I need to see more pictures of the other cable to get its desired place.
The 3 Pin Cable belongs to the Filament detection.
You can do a automatic PID Tune over your Terminal with the command : "M303 S(Temperatur) I (Number of cycles)"