In addition to Jaems and Frank:
This is how I do it. It can be done with the transmission already/still mounted or just as one unit, engine and transmission.
Take care that you don't put too much force on the relatively delicate shift shaft with the risk of bending it.
Good luck with the job,
Otto