The short answer is that you need 1000 revolutions of the speedo cable per mile. So you can calculate the ratio of driven-to-drive gears that you need based on tire diameter and gear ratio.
The other solution is to determine the percentage you are off by now and then adjust the ratio of the speedo gears by that amount. Either way, the starting point is to identify the color of the two gears in the T-case now.