Joseph reaches into a bag with 5 red marbles, 3 yellow marbles, and 2 green marbles, and randomly selects one. Then, he puts the marble back, and Sammy reached into the same bag and randomly selects a marble. What is the probability that both guys selected a yellow marble?