First let's count the probability that after you take out all the red balls, there is exactly one blue ball left. For this part, we can ignore the green balls completely, and just pretend that there are $10$ red balls and $20$ blue balls.
If there is exactly one blue ball left, that means that if we take out all $30$ red or blue balls, the last ball drawn is blue and the next-to-last ball is red. By symmetry, the probability of this happening is the same as the probability that the first ball we draw is blue and the second red, which is $\frac{20}{30} \cdot \frac{10}{29} = \frac{20}{87}$.
From this, we should subtract the probability that (in the original setting where green balls do exist) once we take out all the red balls, there is exactly one blue ball but no green balls left. Equivalently, once we take out all $60$ balls, the last is blue and the second-to-last is red. Equivalently, by symmetry, the first ball is blue and the second is red. This happens with probability $\frac{20}{60} \cdot \frac{10}{59} = \frac{10}{177}.$
So the overall probability we want is $\frac{20}{87} - \frac{10}{177} = \frac{890}{5133}$.