'''Solution 1:'''The probability of drawing balls of the same color is the sum of the probabilities of drawing two green balls and of drawing two blue balls. This give us <math>\frac{29}{50} = \frac{2}{5} \cdot \frac{16}{16+N} + \frac{3}{5} \cdot \frac{N}{16 + N}</math>