Answer:
There are 10 Red skittles and 20 Orange Skittles
Explanation:
Let's call X the number of red skittles in the bag and Y the number of Orange Skittles in the bag.
If we know that there are 10 less red Skittles than orange Skittles in the bag, we can formulate the following equation:
X = Y - 10
Additionally, we know that the Orange Skittles are twice the number of red Skittles, so we can formulate the following equation:
Y = 2*X
Replacing this last equation on the first and solving for X, we get:
X = Y - 10
X = (2*X) - 10
X + 10 = 2*X
10 = 2*X - X
10 = X
Now, we have the value of X and we can replace this on the equation Y = 2*X and found Y as:
Y = 2*(10) = 20
Then, if X is equal to 10, the number of red skittles in the bag are 10 and Y is equal to 20, so the number of Orange skittles in the bag are 20.