neutral goes to #1 hot for high speed goes to #3 hot for low speed goes to #2 the without actually seeing the wire I would guess red and black should be hots and the white neutral
does the cord you show have a high/low switch on it? if so you will have to ohm it to see which wire is high and which one is low or wire it up and if it is wrong swap the 2 hots