How do I repair these wires?
They are enamelled.  Use a naked flame to burn the enamel off the very ends, give them a clean, then solder them as normal.  As @PlasmaHH says, the enamel stripped wires will now need insulating from each other.