The ball looks fine...think of it like a ball and socket joint.
It should sit in the cup and be free to move.
The movement is for two main reason..
1) Allow mast flex, rather than breakage.
2) Allow mast to move in all directions so it can be centered by adjusting the stays.
STAYS....are the 3 (maybe 4) wires that are attached to the mast (part way up..or top..it depends)...
....and secure to the bow and to both sides ( maybe stern too) of the boat....
...the side ones probably go to the outer hulls given its a tri.
To begin with, mast should be set straight up and down and equal side to side....adjust the stays to do this.
To measure side to side...use the main halyard ( the rope that pulls up the mainsail.
Secure the main halyard.....then use it to measure from where it goes into the top of the mast
to an identical point on the bottom adjusters (bottle screws) on either side stay....like a piece of sting!
Adjust side stays to plumb it in the middle.
Jib
Yes...it may have clips (hanks) that secure to the Fore Stay ( not main stay cable).
If not...it is free flying , and needs to be hoisted pretty tight.
You should then have a jib halyard (rope!) that comes out of the front of the mast (probably 1/2 - 3/4 of the way up).
This is secured to the top (head) of the jib and pulled to hoist the jib up.
PLEASE....
......take it easy to start...I'm sure you will.
Wear a life jacket..take a cell phone in a waterproof bag...
...and a SHARP KNIFE and WIRE CUTTER just in case you need to cut stuff down.
Tell a friend/spouse where you are going and when you'll be back...
....and stick to it.
Over the years I have lost friends that are world class sailors.....
..... be VERY aware that wind and water are deadly.
Enjoy....you'll be drinking rum
.. and answering everyone with a resounding ARRRG 'afore yee know it!
Jo