Fully disassemble the turn signal unit. The wires can be released from within and then pulled out.

Disassemble the new unit, push the wires through, connect the leads (there is no wrong order)...