a coin mech (shown in pic alone and installed) is held by two screws, bolts, or spring steel prongs - in place- and direct the coin either down to trip the bottom switch, or out through the coin return..
The yellow arrows in this pic show the screws and where they go on your existing parts..