So if the bag contains half as many red marbles as blue ones, and there are 8 reds then there are 16 blues. 16 + 8= 24 if you want there to be 1/4 white marbles add 6. 6/30 is 1/4.
So the answer comes out to be 30 marbles in the bag
2x + 5y = 34
x+2y = 14
Multiply the second equation by two to create like terms for one variable.
2(x+2y = 14)
2x + 4y = 28
2x + 5y = 34
2x + 4y = 28 -- Subtract.
y = 34.28 = 6
Solve for x
x + 2(6) = 14
x + 12 = 14
x = 2
Check:
2 + 2(6) = 14
2 + 12 = 14
14 = 14
Answer:
X = 2
Y = 6
Pythagorean Theorem A2+B2=C2
625=25+C2
600=C2
Square root of 2 each side
10 Square root of 6 Or 24.494897
180% from the selling price to the wholesale