How wire a 13pin tow bar socket from a 7pin socket!

How to wire a 7 pin socket on the back of the defender to a 13 pin socket. The old one is all corroded and I believe it’s not helping the lights work correctly. #towbar #defender #towing