The ratio given in the problem implies that for every 4 gr of X in the mixture, there are 7 gr of Y and 5 gr of Z. Notice that:
Then, we need to multiply all the previous quantities by 5. Then, in the 80gr mixture, there are 20gr of X, 35gr of Y, and 25gr of Z.
If we remove Z from the mixture, we will end up with a total mass of:
55 gr is the answer to the question, despite not being among the options
Prove that the options given are not possible:
Notice that options A and C imply that most of the mixture consists of Z substance, which is not possible according to the relation.
The only possibility would be C, in that case:
Which is not equal to 100gr