Chosen Solution

Fan plug broke off motherboard

If it was a better picture I could tell you for sure, but yes it looks like a simple re-solder job. For that you’ll need a soldering iron and maybe some solder.