The answer is A, and the best way to figure it out is a little tricky, but wonderful to understand for the GMAT.
First of all, the problem is too hard for the test, in my opinion, even at the highest level. It takes far too long, and plugging in the answers is laborious.
But an easier version could definately be there, and I'll put one down here so we can learn the trick and then apply it. Imagine this question:
60% of the boys and 30% of the girls in a class play basketball. If 40% of all the kids play basketball, what is the ratio of boys to girls in the class?
The answer here is 1:2. You can do it two ways. The first is with algebra, but the best way is to draw a scale that looks like this:
|---10---|-----20-----|
30------40-----------60
G.........all...............B
This might seem random, but for those of you who know the algebra behind a problem like this, it'll make sense. Now, cross connect the 10 to the B and the 20 to the G, and you'll get something that looks like this:
B:G = 10:20 = 1:2
We can do the same thing with this problem (I used W, X, Y, and Z for the different nuts):
|------- 42------|------- 48---------|
............|--24---|---24--|
54------72------96------120------144
W.........X........all.........Y...........Z
(all the periods here are just as space holders in this html system)
Now, for some reason, this works here as well. Cross everything, and connect the 48 to w, 24 to x, 24 to y, and 42 to z, and we get
W:X:Y:Z = 48:24:24:42 = 8:4:4:7
Of course, by the time you do all that, and trust that you're right, the test is over, which is why this, in my opinion, wouldn't be there. But if it were, plugging in the answers is probably better.