@darrencmx it is the front two (the ones with the + and - symbol) that are the ones that get the power. The back once are to hold the connector in place. If you want to fix it properly, you will need to solder all four of them with the proper connector. If you have not done this before, be forewarned. Your connector is made from plastic and it will melt pretty quick (quicker than the solder) so I suggest you practice on something old and useless first. Just to get a feel for it. you need the right solder tip as well. If you have never soldered before, this is not the time to learn :-) Electrical tape is not going to hold the connections and will eventually fail.
For a quick and dirty repair you can skip the whole connector and just solder the wires directly to their corresponding solder pads! Take a look on here Powerboard Connector Broke off my Motherboard for how to connect that.