The wires have came away from the plug

the wires have broken off inside the audio plug that connects to the control adapter, how can i replace the plug and what sort do i need to buy? also wire colour and how many information would be helpful to where they need to be soldered onto as well.

crwdns2934089:0crwdne2934089:0 crwdns2934093:0crwdne2934093:0

crwdns2934109:0crwdne2934109:0

crwdns2889612:0crwdne2889612:0 2
crwdns2934285:0crwdne2934285:0