Fifteen children voted for their favorite color (red, blue, green, and yellow). The votes for red and blue together were double the votes for green and yellow together. How did the children vote?
Let the no of votes for green & yellow be x.
so no of votes for red and blue = 2x
2x + x = 15
3x = 15
x = 5
votes for y & g = 5
votes for red & blue = 2x = 2x5 = 10