6. A ball is selected at random from a bag containing
3 red balls, 4 black balls and 5 green balls. The
first ball is replaced and a second is selected. Find
the probability of obtaining:
(a) two red balls,
(b) two green balls.