In a mixture of mixtures, two quantities of some mixtures are mixed to get a mixture of mixtures.
Let Mixture 1 have ingredients A and B in ratio a: b, and Mixture 2 have ingredients A and B in ratio x : y.
Now, the M unit of mixture 1 and N unit of mixture 2 are mixed to form a resultant mixture. Then, in the resultant mixture, the ratio of A and B is
$$\dfrac{Q_a}{Q_b}=\ \dfrac{M\left(\frac{a}{a+b}\right)+N\left(\frac{x}{x+y}\right)\ }{M\left(\frac{b}{a+b}\right)+N\left(\frac{y}{x+y}\right)}$$