Answer :
Let there be x no. of red balls and y no. of white balls
So, x/2 = y/3
or, 3x = 2y
2(x + y) = 3x + 8
or, 2x + 2y = 3x + 8
or, 2x + 3x = 3x + 8
or, 2x = 8
or, x =4
So, y = 3*4/2 = 6
So, there are 4 red balls and 6 white balls
So, x/2 = y/3
or, 3x = 2y
2(x + y) = 3x + 8
or, 2x + 2y = 3x + 8
or, 2x + 3x = 3x + 8
or, 2x = 8
or, x =4
So, y = 3*4/2 = 6
So, there are 4 red balls and 6 white balls