Let the number of white balls = x
Number of blue balls = twice the number of white balls = 2(x) = 2x
Number of red balls = thrice the number of blue balls = 3(2x) = 6x
Total balls = White + Blue + Red = 27
⇒ x + 2x + 6x = 27 ⇒ 9x = 27
⇒ 9x/9 = 27/9 (Divide by 9 on both sides)
⇒ x = 3
Therefore white balls x = 3
Blue balls = 2x = 2(3) = 6
Red balls = 6x = 6(3) = 18