The first step is to layout where the peg is to be located.

In this case it is centered vertically and directly above the reciprocating tenon.