One ball is drawn from a box containing 3 red, 2 blue and x green balls. Find the value of x so that the probability of drawing a green ball is double that of red or blue ball.