de-pin a headlight socket

Can anyone tell me how to de-pin the wires on a headlight socket for my 65 Valiant? I'm rebuilding my factory harness and replacing all the wires. Not sure how they come out.