I am no electrical expert but one of the wires will be constant hot, one will be the ignition, and one will go to the starter solenoid probably thru a neutral safety switch. Check the color of the wire on the solenoid. It may give you a place to start. The constant hot should be obvious.