At first situation, ratio = x/y = 1/5
5x = y -------Equation (i)
Now, after adding 5 more red, it is = x + 5 / y+5 = 1/3
y+5 = 3(x + 5)
y + 5 = 3x + 15
y - 3x = 15 - 5
Substitute the value of y from equation (1),
5x - 3x = 15 - 5
2x = 10
x = 10/2
x = 5
Originally, There were 5 red marbles in the bag
Hope this helps!
Based on the vertices and the pre-order traversal order the tree would be visited is e, i, b, h, f, a, c, d, g.
<h3>What order will the tree be visited?</h3>
When using the pre-order traversal, the order would be from the root child node to the left child node to right child node.
The root node is the highest node which is e. From here you'll then proceed to the left roots first which means you'll go to i and then b.
From there you go to h and then f. The next nodes would be a and c.
Continuing from left to right, you'll then go to d and then g.
You'll therefore start from "e" and move to "i" and then "b" to "h" and then "f" and "a" to "c" and then to "" and finally to "g"
Find out more on the pre-order traversal at brainly.com/question/14559964.
#SPJ1
Read directions carefully. Eliminate as many options possible, select the best answer. Answer questions you know first. Go over exam again and answer hard questions next. If you have enough time left review the questions and answers again.