Proper frame pin removal and insertion is, 'Basic Glocking 101'.
REMOVAL: Working from the LEFT SIDE of the frame, begin by using either an Armorer's Tool or a 3/32" Machinist's Drift Punch to push out the topmost, #1, 'lock block pin' first.
Next, while continuing to work from the left side of the frame remove the middle, #2, 'trigger pin'. (You might have to wiggle the slide stop around in order to loosen this pin.)
Finally, still working...