Front output shaft

Need help guys. 2007 outlander 650xt Busted my front end. I was pulling something I shouldn’t have and broke the front shaft leading to the front drive shaft. I disassembled the front end and have pull the part that that broke. and included pictures. Does this shaft pull from the front or do I need to pull the motor and separate the transmission and pull it from the back?

Attached Images
File Type: jpg IMG_7458.JPG (1.34 MB)
File Type: jpg IMG_7453.JPG (1.94 MB)
File Type: jpg IMG_7454.JPG (1.34 MB)