A bag contains 25 balls of red and green colour. If 3 red balls and 2 green balls are added, then the probability of getting green is twice the probability of getting red. Find the number of balls of each colour.

A bag contains 25 balls of red and green colour. If 3 red balls and 2 green balls are added, then the probability of getting green is twice the probability of getting red. Find the number of balls of each colour.