Math
posted by ilovepink on .
Raul and Rosie are playing a guessing game. Rosie tells Raul that she has 62 miniature flags in her bag, all green or red. Rosie then tells Raul that if she doubled the green flags and halved the red flags, she would have 88 miniature flags in her bag. How many flags of each color are currently in her bag? Define two variables, write a system of equations, and solve to find the number of flags of each color. Justify your answer by showing how you solved the problem.
Im not really sure how to set this up. please help(:

R = Red
G = Green
R+G = 62
(1/2)R+2G = 88
Solve for R and G.