Assume that there are 10 red balls.
Before removing the balls from the bag
Number of red balls=10=2×X ;then X=5
Number of white balls=8×5=40.
Number of blue balls=3×5=15.
After removing balls from bag
Number of white balls=40-10=30.
Number of blue balls=15-10=5.
The new ratio is white:blue:red=
30:5:10=6:1:2