It should be 150% of whatever b.demand + c.demand equals right? Considering you have 10, want to allocate 6 of that to a, leaving the other two some combination that equals 4. 6 is 150% of 4, do that is the answer? I'm not to great at math either tbh, but I have a very similar problem like this...