Red wire connects directly to one of your power wires. Yellow wire connects to one of the wires that goes to your heater. Then take your second wire from your heater and connect it to the black wire and take those two and connect them the the second power wire.