การใช้ภาษาอังกฤษ ที่ถือว่าถูกต้องในที่นี้ อ้างอิงตามมาตรฐานของภาษา
These two words are hard to tell the differences. 'contain' has a sense of 'hold' or 'have...within' . It is used usually to say 'X has Y in it' that is 'X contains Y'. He contains his anger. = He holds his anger inside. (He does not let his anger out.)
'consist' has a sense of several components of a structure/thing. 'A train consists of carriages.'; 'A molecule consists of atoms.'
'comprise' can be used in both senses.
'consist in' (in your examples) means 'contain mainly/mostly/principally' or 'have ... as the major component/part'.