Let the number of white balls be x. Then the total number of balls is x+ 7. The probability the first ball chosen at random is white is \(\displaystyle \frac{x}{x+ 7}\). Given that, there are x+ 6 balls left, x- 1 of them white. The probability the second ball chosen is also white is \(\displaystyle \frac{x-1}{x+ 6}\).
The probability both balls are white is \(\displaystyle \frac{x}{x+ 7}\frac{x- 1}{x+ 6}\).