You have a kubota rtv 900 model that is made before the X 900. Your mate probably has the shift forks out of alignment. Remove the bolts from around the shift assembly in your pictures and remove straight up. With a long screw driver slide the gears into neutral and then match the shift forks...