Hello Eli,
To secure the rope on the tree there is many possibilities, for example you can choose between figure 8, 9 or a bowline with double safety knot behind.
For connecting to the rope to the locking carabiner on the belay we would recommend a figure 8.
Thank you for your participation
Sincerely
RE :