The number of white balls in a bag = 15.
Let the number of black balls in that bag be x.
Then, the total number of balls in bag = 15+x.
Now, P(black ball)=and P(white ball)=.
According to question, P(black ball) = 3 P(white ball)
Hence, number of black balls in bag = x = 45.