Calculation And Observation Of X-Ray-Sensitive Molecules In Envelopes Of Young Stellar Objects