I don't seem to have a picture handy. The arrangement is pretty straightforward. The tail shaft has a worm gear on it. The speedometer cable has a fairly normal looking gear on it, it's a common Chrysler part.
The output shaft is above the speedometer cable. If you pull the end out you'll see the gear inside fairly easily. Careful, you lose some fluid that's hanging in the tail, but not much.
The higher, numerically, the rear end is, the bigger the gear on the end of the speedo cable because the drive shaft is turning faster. See:
http://www.jeep4x4center.com/jeep-speedometer-gears/index.htmThe average Eagle, with small tires and a 2.35 rear uses a very small gear.
Anyway, they're both nylon gears and the one on the cable is retained with clips. They usually don't get damaged.
Start by just trying to twist it so the gear is up higher; the hole is round but the cable comes in off-center to allow for that adjustment. It could just be off by a little due to years of work.
If you're concerned, just pull it out and have a look around. You'll see how everything fits. Make sure the gear is on and that it can spin freely. If you take the gear off the end and you can (gently) pull the inner cable out, that's bad, the inner cable is anchored at the speedometer end and should just be formed at the transmission/transfer case end.
I hope that helps.