1. The sensing element for the cooling water temp has two male terminals on the top. To which terminal do I attach the wire.

2. At the bottom front starboard side of the engine are three male terminals. I have two wires running from the bottom of the engine ( front-port). One wire is blue the other red/brown? Which wire goes to which terminal? Is this a sensing wire? AND the red/brown female plug also had a black wire attached but the black wire did not attach to any other wire or terminal that I could see. What would be the purpose of the black wire.