The PTO shaft is just a straight shaft into the PTO drop box on the bottom of the gearbox. There are only the splines to line up at the front end and the hydraulic pump drive gear at the back.
Put the PTO in gear and that will hold the splines still to help you line them up, then just wriggle and twist. (the shaft that is). :0)