There are 5 red pens, 3 blue pens and 2 green pens in a box. Ziyad takes at random a pen from the box and gives the pen to his friend, Tamer. Ziyad then randomly takes another pen from the box. Work out the probability that both pens are the same color.