I took my PTO unit back off and measured from the bolt hole to the side of the gear in the case and on the PTO. They match perfectly. Thank god. The top picture with the stepped side towards the input gear seems to be correct.
I understand the order of the gears, but I need to know the orientation of the PTO gear. In one picture the side with the machined step touches the input gear and in the other picture it is opposite.