For 16.34, Y must meet the minimum wall, and should easily because it is a gasket sealing face. Gasket face width is several times greater than min. required wall.
Because this is a wafer style body, X is no. You should not dead-end a pipeline with this valve without a blind flange covering the X.