Push the broken pins out of that plastic thing, take a deep breath and solder them back on.
Since as you wrote, you have little experience in soldering, i suggest you practice a bit first. Solder two random wires together.
If you are VERY unsure of your own skills, just take it to your local computer shop. They might fix it for you.