Your speed is off because 3.07 was not a stock gear ratio in the 50s for a 3100
And the drive gear and driven gear in the transmission speedo output do notmatch that gear ratio of rear end with the tire diameter you have.

Some guys with more knowledge of the transmission you have will have to comment on right gears you need