Answer Should be.... 2/7
More initiative way to approach this.
Pr(Selected two balls will be of same color)= Pr(picking 2 blue balls or 2 red balls or 2 yellow balls)
Pr( 2Blue balls ) = 2/8 * 1/7
Pr( 2Red balls ) = 4/8 * 3/7
Pr( 2Yellow balls ) = 2/8 * 1/7
We get = 2/8 * 1/7 + 4/8 * 3/7 + 2/8 * 1/7 = 2/7