Aux wire detached for speaker

While replacing the battery on my F512J laptop, the auxiliary cable, for the speakers detached from where it connects to the laptop. How do I get the gold connector to on the cable to stay attached to the input piece on the Chip.? Sorry I don’t know the formal names of the internal components of the laptop.

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

crwdns2934109:0crwdne2934109:0

crwdns2889612:0crwdne2889612:0 0

crwdns2942205:01crwdne2942205:0:

Add some pictures into the post so we know what you’re looking at. It’s hard to advise on this kind of thing if we can’t see :)

crwdns2934271:0crwdnd2934271:0crwdne2934271:0

crwdns2934285:0crwdne2934285:0