Replacing my speedometer cable

Update:
I was able to get it out with the help you guys gave, now bear with me this is my first attempt at doing this. The whole speedometer gear came out with it. Did i went to far or is the whole thing a single unit, and if so, is there any where that i could order it from? 20200523_121807.jpg