Actually that's not what the end at the transmission looks like. It should go into a round plastic part stuck in the transmission with a metal fork holding it in place. And once you take it apart the end of the cable itself just has a metal sleeve on it with the cable sticking out.
If you're going to get into stuff like this you should really get a service manual. It'll tell you how to do everything. A lot of this stuff isn't as simple as just taking it apart and putting it back again, that part that goes into the transmission has to be turned the right way, if it's not the speedometer wont' work right and worst case it'll also grind up the gear and fill the end of the transmission with plastic bits.