A hat contains 2 red marbles, 3 blue marbles, and 4 green marbles. You choose two different marbles at random. What is the probability that they are the same color?
P(same color)=29⋅18+39⋅28+49⋅38=518