get a multimeter out and see which one is 12V, which one is Gnd, and which one is the signal wire. Signal wire should read 0-1v when hot. splice your gauge signal wire into this one.
alternatively, get a pinout diag of your ecu, find the Ox pin, and splice your gauge in here (less wires )