It looks like you basically have a half a drive shaft. The yoke might be the easy part. I think rather than trying to match the male end of the shaft, I'd try and find the 18 spline yoke, then see if your driveline shop could construct something if they had tractor/tiller in hand to work with using the yoke already on the tiller.