How to remove speedo drive gear?

Rotate the assembly to engage the gear teeth. I think most of them will land on one of the hash marks.