contestada

A bag contains n white tiles and 5 black tiles. a tile is drawn at random and replaced. a second tile is then drawn. you are given that the probability of drawing two white tiles is 7/22. show that: 3n^2 - 17n - 28 = 0.