In an urn, there are 30 blue balls, 20 red balls and x green balls and y black balls. A ball is taken at random from the urn. The probability that the chosen ball is not red in colour is 34 and it is known that the number of black balls is twice the number of green balls. Find the value of y-x.
Number of blue balls = 30
Number of red balls = 20
Number of green balls = x
Number of black balls = y
Total number of balls = 30+ 20 + x + y = 50 + x + y