Several ways to handle this one.
The one that came to mind to me first was to use a sort of 'teeter totter' weighted average approach. For one, the mixture can't be less than 1/3(a) or more than 2/5(a) (imagine if it were ALL x or ALL y...It would be 40% or 33.3%, so a mixture must fall between these). So everything except D and E are out.
Solution X is 40% a, solution Y is 33.3% a.
Solution Z is 3/14 X and 11/14 Y.
(33.3% a)_____________________________(40%a)
11/14 3/14
Y X
Since X has 3/14 the weight, it will 'pull' the average 3/14 the distance from Y's average. The distance between 33.3 and 40 is ~7, and 3/14*(~7) = 1.5. So solution Z is ~(33.3%+1.5% = 34.8%) a.
34.8% of 630 is a little more than 1/3 630, which is about D (If you don't trust that: ~35%(630) = 63*3 + 31.5 = 188 + 31.5 ~ 219).
You could also say a ratio of 3:11 with a total of 630 gives a ratio 'multiplier' of 45. (Since 3*45 + 11*45 = 14*45 = 630)
This means: 135 ounces of X and 495 ounces of Y.
In 135 ounces of X, there will be 54 ounces of a. (40% of 135 = 20% of 270 = 27*2)
In 495 ounces of Y there will be 165 ounces of a. ((1/3)*495 = 495/3 = (480 + 15)/3 = 160 + 5)
Together that is 219 ounces of a.
One could also say that, since X is in '5' parts and Y is in '3' parts, it might be nice to make the Z ratio into pieces that fit this nicely.
3:11 could be written as 15:55 (to make the 'x' portion nice) and then scaled up to 45:165 (to make the '3' parts nice for the 'y').
The 45 and the 165 could then be broken up into the a:b ratios, respective to what is written:
So 45 will be 2:3 as 18:27 and 165 will be 1:2 as 55:110
This gives an
a : b : a : b
18:27:55:110
which can then combine into:
a:b
73:137
a:b:total =
73:137:210
Since total is actually 630, the ratio multiplier is '3,' and 73*3 = 219.